From faee6fa9facbb7368b2d9e206376194c7ece7fba Mon Sep 17 00:00:00 2001 From: Matt LaPaglia Date: Mon, 29 Jan 2024 14:38:06 -0500 Subject: [PATCH] send the auth also --- OpenAlprWebhookProcessor.Server/Startup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]; }