Skip to content

Commit 4f7aebb

Browse files
committed
Reverted CSP changes
1 parent 655a467 commit 4f7aebb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WebAPI/LearningHub.Nhs.API/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
app.Use(async (context, next) =>
4242
{
43-
context.Response.Headers.Add("content-security-policy", "object-src 'none'; frame-ancestors 'none'; sandbox allow-forms allow-same-origin allow-scripts allow-popups; base-uri 'self';");
43+
////context.Response.Headers.Add("content-security-policy", "object-src 'none'; frame-ancestors 'none'; sandbox allow-forms allow-same-origin allow-scripts allow-popups; base-uri 'self';");
4444
context.Response.Headers.Add("Referrer-Policy", "no-referrer");
4545
context.Response.Headers.Add("Strict-Transport-Security", "max-age=31536000; includeSubDomains");
4646
context.Response.Headers.Add("X-Content-Type-Options", "nosniff");

0 commit comments

Comments
 (0)