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 2747686
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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
1 change: 1 addition & 0 deletions app/front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"@hookform/resolvers": "^3.9.1",
"@radix-ui/react-accordion": "^1.2.1",
"@radix-ui/react-toast": "^1.2.2",
"@radix-ui/react-toggle": "",
"@sentry/react": "^8.38.0",
"@sentry/vite-plugin": "^2.22.6",
"@t3-oss/env-core": "^0.11.1",
Expand Down

0 comments on commit 2747686

Please sign in to comment.