Skip to content

Commit

Permalink
fix csp
Browse files Browse the repository at this point in the history
  • Loading branch information
Feuerhamster committed Aug 14, 2024
1 parent e4a4c93 commit fcd5023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const config = {
"default-src": ["none"],
"font-src": ["self"],
"img-src": ["self"],
"script-src": ["self"],
"script-src": ["self", process.env["UMAMI_SRC"] ? new URL(process.env["UMAMI_SRC"]).host : ""],
"style-src": ["self", "unsafe-inline"]
} : {}
}
Expand Down

0 comments on commit fcd5023

Please sign in to comment.