mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-22 14:59:26 +01:00
add port for listening http
This commit is contained in:
parent
324691dbb7
commit
1dd2cb5fe1
3
app.js
3
app.js
@ -102,6 +102,5 @@ redis.on('error', (error) => {
|
||||
|
||||
if(config.https_enabled) {
|
||||
https.listen(config.ssl_port, '::', () => console.log(`Teddit running on https://${config.domain}`))
|
||||
//https.listen(SSL_PORT, '::', () => console.log(`Teddit running on https://${domain}`))
|
||||
}
|
||||
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