diff --git a/OpenAlprWebhookProcessor.Server/Startup.cs b/OpenAlprWebhookProcessor.Server/Startup.cs index 32731af..fe97629 100644 --- a/OpenAlprWebhookProcessor.Server/Startup.cs +++ b/OpenAlprWebhookProcessor.Server/Startup.cs @@ -129,7 +129,7 @@ public void ConfigureServices(IServiceCollection services) OnMessageReceived = context => { if (string.IsNullOrWhiteSpace(context.Token) - && context.HttpContext.Request.Path.StartsWithSegments("/images", StringComparison.OrdinalIgnoreCase)) + && context.HttpContext.Request.Path.StartsWithSegments("/api/images", StringComparison.OrdinalIgnoreCase)) { context.Token = context.Request.Cookies["jwtToken"]; }