Skip to content

Commit

Permalink
send the auth also
Browse files Browse the repository at this point in the history
  • Loading branch information
mlapaglia committed Jan 29, 2024
1 parent 19355e4 commit faee6fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenAlprWebhookProcessor.Server/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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"];
}
Expand Down

0 comments on commit faee6fa

Please sign in to comment.