Skip to content

Commit

Permalink
cors embedder policy default 'unsafe-none'
Browse files Browse the repository at this point in the history
  • Loading branch information
k2so-dev committed Dec 4, 2023
1 parent fc4cee7 commit 0c1bb81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default defineNuxtConfig({

security: {
headers: {
crossOriginEmbedderPolicy: process.env.APP_ENV === 'production' ? 'require-corp' : 'unsafe-none',
crossOriginEmbedderPolicy: 'unsafe-none',
crossOriginOpenerPolicy: 'same-origin-allow-popups',
contentSecurityPolicy: {
"img-src": ["'self'", "data:", "https://*"],
Expand Down

0 comments on commit 0c1bb81

Please sign in to comment.