Skip to content

Commit

Permalink
PI-2446: Changed connect source for ZAP issue
Browse files Browse the repository at this point in the history
  • Loading branch information
pmcphee77 committed Sep 3, 2024
1 parent fa5417a commit d3a761d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/middleware/setUpWebSecurity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function setUpWebSecurity(): Router {
"'self' https://browser.sentry-cdn.com https://js.sentry-cdn.com",
(_req: Request, res: Response) => `'nonce-${res.locals.cspNonce}'`,
],
connectSrc: ["'self' https://*.sentry.io"],
connectSrc: ["'self' *.sentry.io"],
workerSrc: ["'self' blob:"],
styleSrc: ["'self'", (_req: Request, res: Response) => `'nonce-${res.locals.cspNonce}'`],
fontSrc: ["'self'"],
Expand Down

0 comments on commit d3a761d

Please sign in to comment.