Allow everything

This commit is contained in:
Andras Schmelczer 2025-08-31 15:31:51 +01:00
parent d1bb824b57
commit 90bd3ca494
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C

View file

@ -12,7 +12,11 @@ const PORT = process.env.PORT || 3001;
app.use(helmet({ app.use(helmet({
contentSecurityPolicy: { contentSecurityPolicy: {
directives: { directives: {
defaultSrc: ["'self'", "'unsafe-inline'"], defaultSrc: [
"'self'",
"https://stats.schmelczer.dev",
"'unsafe-inline'",
],
scriptSrc: [ scriptSrc: [
"'self'", "'self'",
"https://stats.schmelczer.dev", "https://stats.schmelczer.dev",