Fixed tiny bug

pull/2/head
Esther 2021-01-03 23:31:54 +00:00
parent 3f5441314b
commit 728e513382
No known key found for this signature in database
GPG Key ID: 162A307C5EBD40EA
1 changed files with 1 additions and 1 deletions

2
app.js
View File

@ -31,7 +31,7 @@ app.use(
helmet.contentSecurityPolicy({
directives: {
defaultSrc: ["'self'"],
scriptSrc: ["'self'", "'unsafe-inline'", "''unsafe-eval'", "https://hcaptcha.com", "https://*.hcaptcha.com", "https://cdn.ravenjs.com/"],
scriptSrc: ["'self'", "'unsafe-inline'", "https://hcaptcha.com", "https://*.hcaptcha.com", "https://cdn.ravenjs.com/"],
imgSrc: ["'self'", "https://blog.pastel.codes", "https://static.ghost.org", "https://secure.gravatar.com"],
styleSrc: ["'self'", "'unsafe-inline'", "https://hcaptcha.com", "https://*.hcaptcha.com"],
fontSrc: ["'self'", "data:"],