Skip to content

TagSpaces is an offline, open source, document manager with tagging support

adding data and self as valid sources for images in the CSP

uggrock18b1b724b70f
diff --git a/data/index.html b/data/index.html
index 6a7a8ba1e..beccf794a 100644
--- a/data/index.html
+++ b/data/index.html
@@ -5,6 +5,7 @@
source code is governed by a AGPL3 license that can be found in the LICENSE file. -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
+ <meta http-equiv="Content-Security-Policy" content="default-src 'self'; img-src 'self' 'data' ; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-eval'">
<title>TagSpaces</title>
<style type="text/css">
#loadingLogo {