Skip to content

Commit

Permalink
fix: corrige les CSP (000)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime committed Nov 25, 2024
1 parent 98aed2c commit af1504e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions app/front/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@
script-src 'self';
style-src 'self' 'unsafe-inline';
img-src 'self' data:;
connect-src 'self' %VITE_API_URL% %VITE_KEYCLOAK_URL% https://api-adresse.data.gouv.fr;
frame-src 'self' %VITE_KEYCLOAK_URL%;
connect-src 'self' %VITE_API_URL% %VITE_KEYCLOAK_URL% https://api-adresse.data.gouv.fr *.ingest.de.sentry.io;
frame-src 'self' %VITE_APP_URL% %VITE_KEYCLOAK_URL%;
font-src 'self';
object-src 'self';
object-src 'self'
worker-src blob: %VITE_APP_URL%;
">
<meta http-equiv="X-XSS-Protection" content="1; mode=block">
<meta http-equiv="X-Content-Type-Options" content="nosniff">
Expand Down
2 changes: 1 addition & 1 deletion app/front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@
"vitest": "^2.1.4",
"vitest-mock-extended": "^2.0.2"
}
}
}

0 comments on commit af1504e

Please sign in to comment.