From 53b16250269eaa701d2ea7578242139bb8eff61a Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 17 Jan 2023 14:38:21 -0500 Subject: [PATCH] Fixing PWA install. Fixes #822 (#893) --- src/server/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/index.tsx b/src/server/index.tsx index 048e702f..862538a4 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(); });