mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
fix csp when default color mode is dark
This commit is contained in:
@@ -72,8 +72,9 @@ export function app(): CspDev.DirectiveDescriptor {
|
||||
// https://github.com/vercel/next.js/issues/14221#issuecomment-657258278
|
||||
config.app.isDev ? KEY_WORDS.UNSAFE_EVAL : '',
|
||||
|
||||
// hash of ColorModeScript
|
||||
// hash of ColorModeScript: system + dark
|
||||
'\'sha256-e7MRMmTzLsLQvIy1iizO1lXf7VWYoQ6ysj5fuUzvRwE=\'',
|
||||
'\'sha256-9A7qFFHmxdWjZMQmfzYD2XWaNHLu1ZmQB0Ds4Go764k=\'',
|
||||
],
|
||||
|
||||
'style-src': [
|
||||
|
||||
Reference in New Issue
Block a user