Allow everything
This commit is contained in:
parent
d1bb824b57
commit
90bd3ca494
1 changed files with 5 additions and 1 deletions
|
|
@ -12,7 +12,11 @@ const PORT = process.env.PORT || 3001;
|
|||
app.use(helmet({
|
||||
contentSecurityPolicy: {
|
||||
directives: {
|
||||
defaultSrc: ["'self'", "'unsafe-inline'"],
|
||||
defaultSrc: [
|
||||
"'self'",
|
||||
"https://stats.schmelczer.dev",
|
||||
"'unsafe-inline'",
|
||||
],
|
||||
scriptSrc: [
|
||||
"'self'",
|
||||
"https://stats.schmelczer.dev",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue