u
This commit is contained in:
parent
a619741d2c
commit
21f95f6a61
@ -190,8 +190,13 @@ if (typeof wo.envi.ssl === 'string') {
|
|||||||
res.writeHead(500, { 'Content-Type': 'text/plain' })
|
res.writeHead(500, { 'Content-Type': 'text/plain' })
|
||||||
res.end('Proxy Error.')
|
res.end('Proxy Error.')
|
||||||
})
|
})
|
||||||
proxy.listen(portHttps)
|
proxy.listen(portHttps, function (err) {
|
||||||
console.info('server listening on %s://%s:%d as proxy', wo.envi.protocol, wo.envi.host, portHttps)
|
if (err) console.log(err)
|
||||||
|
else
|
||||||
|
console.log(
|
||||||
|
`[${new Date().toJSON()}] Server listening on ${wo.envi.protocol}://${wo.envi.host}:${portHttps} with IPv4=${ipv4} for ${wo.envi.prodev} environment`
|
||||||
|
)
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user