Sort by Average Rating and Big Want to Read fix (#2672)

This commit is contained in:
Joe Milazzo 2024-02-01 06:23:45 -06:00 committed by GitHub
parent 03e7d38482
commit 1fd72ada36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 3552 additions and 105 deletions

View file

@ -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;