mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 10:37:55 +08:00
miniprofiler忽略swagger路径
This commit is contained in:
@@ -73,6 +73,7 @@ namespace OpenAuth.WebApi
|
||||
options.PopupShowTimeWithChildren = true;
|
||||
options.PopupShowTrivial = true;
|
||||
options.SqlFormatter = new StackExchange.Profiling.SqlFormatters.InlineFormatter();
|
||||
// options.IgnoredPaths.Add("/swagger/");
|
||||
}).AddEntityFramework();//显示SQL语句及耗时
|
||||
|
||||
//添加swagger
|
||||
|
Reference in New Issue
Block a user