mirror of
https://codeberg.org/tacerus/teddit.git
synced 2025-01-09 21:02:36 +01:00
Merge pull request 'Add port number in log for server listen callback' (#44) from samr/teddit:feat/logport into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/44
This commit is contained in:
commit
f0462912f0
4
app.js
4
app.js
@ -115,6 +115,6 @@ redis.on('error', (error) => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
if(config.https_enabled) {
|
if(config.https_enabled) {
|
||||||
https.listen(config.ssl_port, '::', () => console.log(`Teddit running on https://${config.domain}`))
|
https.listen(config.ssl_port, '::', () => console.log(`Teddit running on https://${config.domain}:${config.ssl_port}`))
|
||||||
}
|
}
|
||||||
http.listen(config.nonssl_port, '::', () => console.log(`Teddit running on http://${config.domain}`))
|
http.listen(config.nonssl_port, '::', () => console.log(`Teddit running on http://${config.domain}:${config.nonssl_port}`))
|
||||||
|
Loading…
Reference in New Issue
Block a user