Skip to content

Commit

Permalink
Utvide csp med sanity
Browse files Browse the repository at this point in the history
  • Loading branch information
frodehansen2 committed Dec 11, 2023
1 parent ba27806 commit a9f6e72
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion apps/dine-pleiepenger/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ const appDirectives = {
'script-src': ["'self'", "'unsafe-eval'", "'unsafe-inline'", 'https://uxsignals-frontend.uxsignals.app.iterate.no'],
'script-src-elem': ["'self'", "'unsafe-inline'", 'https://uxsignals-frontend.uxsignals.app.iterate.no'],
'worker-src': ["'self'"],
'connect-src': ["'self'", 'https://*.nav.no', 'https://*.uxsignals.com', 'http://localhost:1234'],
'connect-src': [
"'self'",
'https://*.nav.no',
'https://*.uxsignals.com',
'http://localhost:1234',
'*.api.sanity.io',
],
};

/**
Expand Down

0 comments on commit a9f6e72

Please sign in to comment.