Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
C# annotationscbzcomicinfocomicscomics-readercross-platformcsharpepubepub-readerfreelinuxmangamedia-servermetadataopdsopds-feedpdfself-hostedubooquitywindows
Relaxed CSP and undid the wwwroot copy again (#1428)
Joseph Milazzo438997161312
diff --git a/API/Startup.cs b/API/Startup.csindex e71520dbc..31342e7d9 100644--- a/API/Startup.cs+++ b/API/Startup.cs@@ -273,7 +273,7 @@ namespace APIcontext.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();});