Merge pull request 'added my instance to README and fixed express not binding to config.listen_address' (#205) from ioensis/teddit:main into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/205
This commit is contained in:
commit
674731d92d
|
@ -29,6 +29,7 @@ Community instances:
|
||||||
* [https://teddit.nautolan.racing](https://teddit.nautolan.racing)
|
* [https://teddit.nautolan.racing](https://teddit.nautolan.racing)
|
||||||
* [https://teddit.tinfoil-hat.net](https://teddit.tinfoil-hat.net)
|
* [https://teddit.tinfoil-hat.net](https://teddit.tinfoil-hat.net)
|
||||||
* [https://teddit.domain.glass](https://teddit.domain.glass)
|
* [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)
|
* [ibarajztopxnuhabfu7f...onion](http://ibarajztopxnuhabfu7fg6gbudynxofbnmvis3ltj6lfx47b6fhrd5qd.onion) (not working since 06/2021)
|
||||||
* [xugoqcf2pftm76vbznx4...i2p](http://xugoqcf2pftm76vbznx4xuhrzyb5b6zwpizpnw2hysexjdn5l2tq.b32.i2p)
|
* [xugoqcf2pftm76vbznx4...i2p](http://xugoqcf2pftm76vbznx4xuhrzyb5b6zwpizpnw2hysexjdn5l2tq.b32.i2p)
|
||||||
|
|
||||||
|
|
4
app.js
4
app.js
|
@ -140,6 +140,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}:${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}`))
|
||||||
|
|
Loading…
Reference in New Issue