move csp default value to package.json

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2022-06-09 09:16:45 +03:00
1 parent 783f0d23e1
commit d8ad9e773a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@
"bundledKubectlVersion": "1.23.3",
"bundledHelmVersion": "3.7.2",
"sentryDsn": "",
"contentSecurityPolicy": ""
"contentSecurityPolicy": "script-src 'unsafe-eval' 'self'; frame-src http://*.localhost:*/; img-src *"
},
"engines": {
"node": ">=16 <17"
+1 -1
View File
@@ -143,4 +143,4 @@ export const appSemVer = new SemVer(packageInfo.version);
export const docsUrl = "https://docs.k8slens.dev/main/" as string;
export const sentryDsn = packageInfo.config?.sentryDsn ?? "";
export const contentSecurityPolicy = packageInfo.config?.contentSecurityPolicy || "script-src 'unsafe-eval' 'self'; frame-src http://*.localhost:*/; img-src *";
export const contentSecurityPolicy = packageInfo.config?.contentSecurityPolicy ?? "";