Skip to content

Commit c166214

Browse files
committed
Allow serving constants file anonymously
1 parent f282079 commit c166214

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ServicePulse.Core/ServicePulseHostingExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ public static void UseServicePulse(this WebApplication app, ServicePulseSettings
3131
{
3232
context.Response.ContentType = MediaTypeNames.Text.JavaScript;
3333
return constantsFile;
34-
});
34+
}).AllowAnonymous();
3535
}
3636
}

0 commit comments

Comments
 (0)