Skip to content

Commit

Permalink
Legge til amplitude i csp
Browse files Browse the repository at this point in the history
  • Loading branch information
nattaphongklinjan committed May 31, 2024
1 parent 8aa4550 commit 6af40d9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@ const withPlugins = require("next-compose-plugins");
// Direktiver appen din benytter
const myAppDirectives = {
"script-src-elem": ["'self'", "https://uxsignals-frontend.uxsignals.app.iterate.no"],
"script-src": ["'self'", "https://uxsignals-frontend.uxsignals.app.iterate.no"],
"script-src": [
"'self'",
"https://uxsignals-frontend.uxsignals.app.iterate.no",
"https://amplitude.nav.no/collect-auto",
],
"style-src": ["unsafe-inline"],
"img-src": ["'self'", "data:", "https://uxsignals-frontend.uxsignals.app.iterate.no"],
"connect-src": [
"'self'",
"rt6o382n.apicdn.sanity.io",
"rt6o382n.api.sanity.io",
"https://api.uxsignals.com",
"https://amplitude.nav.no/collect-auto",
],
"worker-src": ["'self'"],
"frame-src": ["*.nav.no"],
Expand Down

0 comments on commit 6af40d9

Please sign in to comment.