Skip to content

Commit

Permalink
Hardcode URL for CSP fix
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteHoodHacker authored Jun 29, 2024
1 parent a8caffa commit 6750dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ app.register(helmet, {
styleSrc: ['\'unsafe-inline\'', '\'self\''],
scriptSrc: ['\'self\'', 'https://www.google-analytics.com', 'https://www.google.com/recaptcha/', 'https://www.gstatic.com/recaptcha/'],
frameSrc: ['https://www.google.com/recaptcha/'],
connectSrc: ['\'self\'', 'https://www.google-analytics.com'],
connectSrc: ['\'self\'', 'https://www.google-analytics.com', 'https://2024.uiuc.tf'],
imgSrc: ['*', 'data:']
}
}
Expand Down

0 comments on commit 6750dc3

Please sign in to comment.