Skip to content

Commit a461d8e

Browse files
committed
fix: add tauri.localhost to CSP
1 parent 15cd3b6 commit a461d8e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src-tauri/tauri.conf.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"csp": {
2424
"connect-src": [
2525
"self",
26+
"http://tauri.localhost",
2627
"ipc: http://ipc.localhost",
2728
"local: http://localhost:*/session",
2829
"website: https://waspscripts.dev",

svelte.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const config = {
1414
directives: {
1515
"connect-src": [
1616
"self",
17+
"http://tauri.localhost"
1718
"http://localhost:*",
1819
"http://ipc.localhost",
1920
"https://waspscripts.dev",

0 commit comments

Comments
 (0)