Skip to content

Commit

Permalink
Legg til cdn i CSP
Browse files Browse the repository at this point in the history
  • Loading branch information
ssaegrov committed Dec 11, 2024
1 parent 11160dd commit 9b2cfc9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/entry.server.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@ if (getEnv("USE_MSW") === "true") {

const csp = {
"script-src": ["blob:"],
"img-src": ["'self'", "data:", "blob:"],
"img-src": [
"'self'",
"data:",
"blob:",
"https://cdn.nav.no/teamdagpenger/dp-saksbehandling-frontend/",
],
"connect-src": [
"'self'",
"*.nav.no",
Expand Down

0 comments on commit 9b2cfc9

Please sign in to comment.