mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-28 17:38:31 +00:00
web/svelte.config: allow inline img event call
will be used for smooth fade in of images
This commit is contained in:
parent
c9dfd60068
commit
6370420392
@ -78,6 +78,13 @@ const config = {
|
|||||||
"sha256-g67gIjM3G8yMbjbxyc3QUoVsKhdxgcQzCmSKXiZZo6s=",
|
"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"]
|
"frame-ancestors": ["none"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user