From: Dessalines Date: Tue, 17 Jan 2023 19:38:21 +0000 (-0500) Subject: Fixing PWA install. Fixes #822 (#893) X-Git-Url: http://these/git/%22%7Burl%7D/%22https:/image.com/%7Bpost.url%7D?a=commitdiff_plain;h=53b16250269eaa701d2ea7578242139bb8eff61a;p=lemmy-ui.git Fixing PWA install. Fixes #822 (#893) --- diff --git a/src/server/index.tsx b/src/server/index.tsx index 048e702..862538a 100644 --- a/src/server/index.tsx +++ b/src/server/index.tsx @@ -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(); });