Sort by Average Rating and Big Want to Read fix (#2672)
This commit is contained in:
parent
03e7d38482
commit
1fd72ada36
42 changed files with 3552 additions and 105 deletions
|
@ -73,8 +73,10 @@ public static class LogLevelOptions
|
|||
|
||||
if (isRequestLoggingMiddleware)
|
||||
{
|
||||
if (e.Properties.ContainsKey("Path") && e.Properties["Path"].ToString().Replace("\"", string.Empty) == "/api/health") return false;
|
||||
if (e.Properties.ContainsKey("Path") && e.Properties["Path"].ToString().Replace("\"", string.Empty) == "/hubs/messages") return false;
|
||||
var path = e.Properties["Path"].ToString().Replace("\"", string.Empty);
|
||||
if (e.Properties.ContainsKey("Path") && path == "/api/health") return false;
|
||||
if (e.Properties.ContainsKey("Path") && path == "/hubs/messages") return false;
|
||||
if (e.Properties.ContainsKey("Path") && path.StartsWith("/api/image")) return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue