Enable csp on lens proxy (#5581)

* enable csp on lens proxy

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* move csp default value to package.json

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen authored and GitHub committed 2022-06-09 13:39:37 +03:00
1 parent 2b5d54e8d9
commit 240dfad167
3 files changed
+8 -2

No files matched your search

+2 -1
View File
@@ -49,7 +49,8 @@
"k8sProxyVersion": "0.2.1",
"bundledKubectlVersion": "1.23.3",
"bundledHelmVersion": "3.7.2",
"sentryDsn": ""
"sentryDsn": "",
"contentSecurityPolicy": "script-src 'unsafe-eval' 'self'; frame-src http://*.localhost:*/; img-src *"
},
"engines": {
"node": ">=16 <17"