mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 08:28:20 +01:00
fix: 🐛 Set COEP to credentialless to be able to load remote content
This commit is contained in:
parent
093ae627b9
commit
3d27565a3e
|
|
@ -194,10 +194,7 @@ export default defineNuxtConfig({
|
|||
security: {
|
||||
headers: {
|
||||
// Nuxt DevTools
|
||||
crossOriginEmbedderPolicy:
|
||||
process.env.NODE_ENV === "development"
|
||||
? "unsafe-none"
|
||||
: "require-corp",
|
||||
crossOriginEmbedderPolicy: "credentialless",
|
||||
contentSecurityPolicy: {
|
||||
"img-src": ["'self'", "data:", "https:", "blob:"],
|
||||
"script-src": ["'nonce-{{nonce}}'", "'strict-dynamic'"],
|
||||
|
|
|
|||
Loading…
Reference in a new issue