Skip to content

Commit

Permalink
🐛 Correction des CSP pour l'api Géo
Browse files Browse the repository at this point in the history
  • Loading branch information
benjlevesque committed Feb 18, 2025
1 parent 575e41c commit cf514be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/applications/legacy/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export async function makeServer(port: number) {
'potentiel.beta.gouv.fr',
'client.crisp.chat',
'wss://client.relay.crisp.chat',
new URL(process.env.NEXT_PUBLIC_GEO_API_URL ?? '').hostname,
],
'font-src': ["'self'", 'client.crisp.chat'],
'frame-src': ['metabase.potentiel.beta.gouv.fr', 'blob:'],
Expand Down

0 comments on commit cf514be

Please sign in to comment.