mirror of
https://github.com/techno-tim/littlelink-server.git
synced 2025-02-10 18:11:24 +01:00
fix(helmet): disable upgrade requests
This commit is contained in:
parent
519169884c
commit
2b61f4fc67
2
app.js
2
app.js
@ -10,7 +10,7 @@ app.use(
|
||||
useDefaults: true,
|
||||
directives: {
|
||||
"img-src": '* data:', // this is needed to load images off site
|
||||
upgradeInsecureRequests: undefined, // you should use SSL, this is disabled for internal use
|
||||
upgradeInsecureRequests: [], // you should use SSL, this is disabled for internal use
|
||||
},
|
||||
})
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user