Skip to content

Commit

Permalink
refactor: remove cdn.jsdelivr.net from cors opbions
Browse files Browse the repository at this point in the history
  • Loading branch information
Josue committed Nov 9, 2020
1 parent 5c8f51b commit 83c088b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/web/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ app.use(
frameSrc: ["'self'", '*.youtube.com', '*.vimeo.com'],
frameAncestors: ["'self'"],
imgSrc: ["'self'", 'data:', 'https:'],
scriptSrc: ["'self'", 'cdn.jsdelivr.net', "'unsafe-inline'"],
scriptSrc: ["'self'", "'unsafe-inline'"],
styleSrc: ["'self'", 'https:', "'unsafe-inline'"],
objectSrc: ["'none'"],
upgradeInsecureRequests: [],
Expand Down

0 comments on commit 83c088b

Please sign in to comment.