mirror of
https://github.com/qwertyforce/scenery.git
synced 2025-05-31 11:42:35 +00:00
trust proxy
This commit is contained in:
parent
7319549adc
commit
9c4e34132d
@ -138,7 +138,7 @@ next_app.prepare().then(() => {
|
||||
app.all('*', (req, res) => {
|
||||
return handle(req, res)
|
||||
})
|
||||
|
||||
app.set('trust proxy','127.0.0.1')
|
||||
app.listen(port,'localhost', (err) => {
|
||||
if (err) throw err
|
||||
console.log(`> Ready on ${config.domain}:${port}`)
|
||||
|
Loading…
x
Reference in New Issue
Block a user