This commit is contained in:
dingo
2026-01-30 14:47:40 -05:00
parent 75b0ba4f90
commit eefa5b365b
+11
View File
@@ -218,6 +218,17 @@ app.MapGet("/health/ready", async (IRedisManager rm, HealthCheckService hc) =>
catch { return Results.StatusCode(503); }
});
app.Use(async (ctx, next) =>
{
app.Logger.LogInformation("REQ {Method} {Scheme}://{Host}{Path} CookieHdrLen={Len}",
ctx.Request.Method,
ctx.Request.Scheme,
ctx.Request.Host.Value,
ctx.Request.Path.Value,
ctx.Request.Headers.Cookie.ToString().Length);
await next();
});
// ---- Session middleware (must be before routing) ----
app.UseSession();