fix csp configs

This commit is contained in:
Brandon Thomas committed 2025-05-12 14:50:51 -04:00
1 parent ee4de4126d
commit 72b35613bc
5 files changed
+63 -7

No files matched your search

@@ -27,5 +27,28 @@
]
},
"dialog:default"
]
],
"app": {
"csp": {
"default-src": [
"'self'",
"'unsafe-inline'",
"'unsafe-eval'",
"https://*.storyteller.ai",
"https://*.fakeyou.com"
],
"script-src": [
"'self'",
"'unsafe-inline'",
"'unsafe-eval'",
"https://*.storyteller.ai",
"https://*.fakeyou.com"
],
"connect-src": [
"'self'",
"https://*.storyteller.ai",
"https://*.fakeyou.com"
]
}
}
}
+33 -3
View File
@@ -21,11 +21,41 @@
],
"security": {
"csp": {
"default-src": "*",
"connect-src": "*",
"default-src": [
"'self'",
"'unsafe-eval'",
"'unsafe-inline'",
"blob:",
"data:",
"https://*.fakeyou.com",
"https://*.storyteller.ai",
"ipc://localhost",
"tauri://localhost"
],
"connect-src": [
"'self'",
"'unsafe-eval'",
"'unsafe-inline'",
"blob:",
"data:",
"https://*.fakeyou.com",
"https://*.storyteller.ai",
"ipc://localhost",
"tauri://localhost"
],
"font-src": "*",
"img-src": "* data: blob: 'unsafe-inline'",
"style-src": "*"
"style-src": [
"'self'",
"'unsafe-eval'",
"'unsafe-inline'",
"blob:",
"data:",
"https://*.fakeyou.com",
"https://*.storyteller.ai",
"ipc://localhost",
"tauri://localhost"
]
}
}
},
-3
View File
@@ -48,9 +48,6 @@
{
"path": "../../libs/components/toaster"
},
{
"path": "../../libs/components/demo-modal"
},
{
"path": "../../libs/components/login-modal"
},
@@ -2,6 +2,9 @@
"files": [],
"include": [],
"references": [
{
"path": "../../tauri-api"
},
{
"path": "../camera-settings-modal"
},
@@ -43,6 +43,9 @@
"src/**/*.tsx"
],
"references": [
{
"path": "../../tauri-api/tsconfig.lib.json"
},
{
"path": "../camera-settings-modal/tsconfig.lib.json"
},