mirror of
https://github.com/wukko/cobalt.git
synced 2025-06-13 05:37:44 +02:00
web/svelte.config: allow inline img event call
will be used for smooth fade in of images
This commit is contained in:
@ -78,6 +78,13 @@ const config = {
|
||||
"sha256-g67gIjM3G8yMbjbxyc3QUoVsKhdxgcQzCmSKXiZZo6s=",
|
||||
],
|
||||
|
||||
"script-src-attr": [
|
||||
"unsafe-hashes",
|
||||
// hash of inline img event call
|
||||
// see: https://github.com/sveltejs/svelte/issues/14014
|
||||
"sha256-7dQwUgLau1NFCCGjfn9FsYptB6ZtWxJin6VohGIu20I="
|
||||
],
|
||||
|
||||
"frame-ancestors": ["none"]
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user