We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9baf05 commit 38a79b7Copy full SHA for 38a79b7
PxWeb/Program.cs
@@ -197,7 +197,7 @@ public static void Main(string[] args)
197
app.UseIpRateLimiting();
198
}
199
200
- app.UseWhen(context => !context.Request.Path.StartsWithSegments(pxApiConfiguration.RoutePrefix + "/admin") || context.Request.Path.StartsWithSegments("/admin"), appBuilder =>
+ app.UseWhen(context => !(context.Request.Path.StartsWithSegments(pxApiConfiguration.RoutePrefix + "/admin") || context.Request.Path.StartsWithSegments("/admin")), appBuilder =>
201
{
202
appBuilder.UseCacheMiddleware();
203
});
0 commit comments