From 875cc352437d3452db4629348c00cd4ece71972d Mon Sep 17 00:00:00 2001 From: kamtschatka Date: Sat, 25 May 2024 20:41:15 +0200 Subject: [PATCH] fix(extension): Drop the https restriction in firefox. Fixes #23 added csp rule to allow firefox to connect to http endpoints Co-authored-by: kamtschatka --- apps/browser-extension/manifest.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/browser-extension/manifest.json b/apps/browser-extension/manifest.json index 22623afd..ac4d36e6 100644 --- a/apps/browser-extension/manifest.json +++ b/apps/browser-extension/manifest.json @@ -20,5 +20,8 @@ "id": "addon@hoarder.app" } }, + "content_security_policy": { + "extension_pages": "script-src 'self'; object-src 'self'" + }, "permissions": ["storage", "tabs"] }