trust proxy needed to retrieve correct protocol/hostname

This commit is contained in:
lesion
2021-11-09 12:46:46 +01:00
parent b405981198
commit ba1087f58f
2 changed files with 9 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ const api = require('./api')
const app = express()
app.enable('trust proxy')
app.use(helpers.logRequest)
// initialize instance settings / authentication / locale