diff options
| author | kamtschatka <sschatka@gmail.com> | 2024-05-25 20:41:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-25 19:41:15 +0100 |
| commit | 875cc352437d3452db4629348c00cd4ece71972d (patch) | |
| tree | 75f8901efc0c557a0ac6725ad7295bfdaf14d5ec | |
| parent | 6dc67cf46717ec1653e7d8d1954a52309104a683 (diff) | |
| download | karakeep-875cc352437d3452db4629348c00cd4ece71972d.tar.zst | |
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 <simon.schatka@gmx.at>
| -rw-r--r-- | apps/browser-extension/manifest.json | 3 |
1 files changed, 3 insertions, 0 deletions
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"] } |
