Skip to content

Commit 9228892

Browse files
committed
helmet csp
1 parent d9b67ac commit 9228892

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/index.coffee

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ module.exports=(mode)->
1515

1616
port=process.env.PORT or 8080
1717

18-
app.use helmet()
18+
app.use helmet {
19+
contentSecurityPolicy: false
20+
}
1921

2022
if mode is "production"
2123
app.use express.static "#{__dirname}/client/dist"

src/server.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"ip":"localhost",
33
"port":25565,
4-
"version":"1.16.5"
4+
"version":"1.16.1"
55
}

0 commit comments

Comments
 (0)