Skip to content

Commit

Permalink
Turn CSP back on
Browse files Browse the repository at this point in the history
  • Loading branch information
ejsmith committed Mar 6, 2023
1 parent f7c3a91 commit 2514812
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Exceptionless.Web/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,6 @@ public void Configure(IApplicationBuilder app) {
.To("https://api-iam.intercom.io/")
.To("wss://nexus-websocket-a.intercom.io");

csp.SetReportOnly();

csp.OnSendingHeader = context =>
{
context.ShouldNotSend = context.HttpContext.Request.Path.StartsWithSegments("/api");
Expand Down

0 comments on commit 2514812

Please sign in to comment.