diff --git a/README.md b/README.md index 88d5af0..731a50b 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ Community instances: * [https://teddit.nautolan.racing](https://teddit.nautolan.racing) * [https://teddit.tinfoil-hat.net](https://teddit.tinfoil-hat.net) * [https://teddit.domain.glass](https://teddit.domain.glass) +* [https://snoo.ioens.is](https://snoo.ioens.is) * [ibarajztopxnuhabfu7f...onion](http://ibarajztopxnuhabfu7fg6gbudynxofbnmvis3ltj6lfx47b6fhrd5qd.onion) (not working since 06/2021) * [xugoqcf2pftm76vbznx4...i2p](http://xugoqcf2pftm76vbznx4xuhrzyb5b6zwpizpnw2hysexjdn5l2tq.b32.i2p) diff --git a/app.js b/app.js index e718983..07b81d9 100644 --- a/app.js +++ b/app.js @@ -140,6 +140,6 @@ redis.on('error', (error) => { }) if(config.https_enabled) { - https.listen(config.ssl_port, '::', () => console.log(`Teddit running on https://${config.domain}:${config.ssl_port}`)) + https.listen(config.ssl_port, config.listen_address, () => console.log(`Teddit running on https://${config.domain}:${config.ssl_port}`)) } -http.listen(config.nonssl_port, '::', () => console.log(`Teddit running on http://${config.domain}:${config.nonssl_port}`)) +http.listen(config.nonssl_port, config.listen_address, () => console.log(`Teddit running on http://${config.domain}:${config.nonssl_port}`))