Skip to content

Commit

Permalink
fix: add Hotjar production script
Browse files Browse the repository at this point in the history
  • Loading branch information
DiogoSoaress committed Aug 23, 2024
1 parent 8f61129 commit 439ac12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/securityHeaders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ export const ContentSecurityPolicy = `
default-src 'self';
connect-src 'self' https://api.ashbyhq.com/posting-api/job-board/safe.global/ https://ecosystem-database.staging.5afe.dev/data.json https://hub.snapshot.org/graphql https://cdn.contentful.com/spaces/1i5gc724wjeu/ https://metrics.hotjar.io/;
script-src 'self' ${
IS_PRODUCTION ? '' : "'unsafe-eval'"
} 'unsafe-inline' https://static.hotjar.com/c/hotjar-3603830.js https://www.googletagmanager.com;
IS_PRODUCTION ? 'https://script.hotjar.com' : "'unsafe-eval'"
} 'unsafe-inline' https://static.hotjar.com https://www.googletagmanager.com;
style-src 'self' 'unsafe-inline';
font-src 'self';
object-src 'none';
Expand Down

0 comments on commit 439ac12

Please sign in to comment.