mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
Relaxed CSP and undid the wwwroot copy again (#1428)
This commit is contained in:
parent
2ae44a97c1
commit
4389971613
@ -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…
x
Reference in New Issue
Block a user