Relaxed CSP and undid the wwwroot copy again (#1428)
This commit is contained in:
parent
2ae44a97c1
commit
4389971613
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ namespace API
|
|||
context.Response.Headers.XFrameOptions = "SAMEORIGIN";
|
||||
|
||||
// Setup CSP to ensure we load assets only from these origins
|
||||
context.Response.Headers.Add("Content-Security-Policy", "default-src 'self' frame-ancestors 'none';");
|
||||
context.Response.Headers.Add("Content-Security-Policy", "frame-ancestors 'none';");
|
||||
|
||||
await next();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue