diff --git a/backend/Cargo.lock b/backend/Cargo.lock index b6679ea..a7f5b86 100644 --- a/backend/Cargo.lock +++ b/backend/Cargo.lock @@ -1558,7 +1558,7 @@ checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4" [[package]] name = "mangalord" -version = "0.128.4" +version = "0.128.5" dependencies = [ "anyhow", "argon2", diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 603e10d..d975c4d 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mangalord" -version = "0.128.4" +version = "0.128.5" edition = "2021" default-run = "mangalord" diff --git a/frontend/csp-config.js b/frontend/csp-config.js new file mode 100644 index 0000000..27b6b56 --- /dev/null +++ b/frontend/csp-config.js @@ -0,0 +1,10 @@ +// Shared CSP constants, kept dependency-free so both svelte.config.js (loaded by +// Node when Vite starts) and the vitest drift-guard test (jsdom env) can import +// it without pulling in adapter-node / esbuild. + +// sha256 of the inline theme