]> Untitled Git - lemmy-ui.git/commitdiff
Fixing PWA install. Fixes #822 (#893)
authorDessalines <dessalines@users.noreply.github.com>
Tue, 17 Jan 2023 19:38:21 +0000 (14:38 -0500)
committerGitHub <noreply@github.com>
Tue, 17 Jan 2023 19:38:21 +0000 (14:38 -0500)
src/server/index.tsx

index 048e702f97220d68f5a183cad943c52506648952..862538a4d431f65521cab14fd9eced90fadd33fb 100644 (file)
@@ -30,7 +30,7 @@ if (!process.env["LEMMY_UI_DISABLE_CSP"] && !process.env["LEMMY_UI_DEBUG"]) {
   server.use(function (_req, res, next) {
     res.setHeader(
       "Content-Security-Policy",
-      `default-src 'self'; connect-src *; img-src * data:; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; form-action 'self'; base-uri 'self'; frame-src *`
+      `default-src 'self'; manifest-src *; connect-src *; img-src * data:; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; form-action 'self'; base-uri 'self'; frame-src *`
     );
     next();
   });