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({
|
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",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue