fix typo affecting outbound connections

This commit is contained in:
Dave Horton
2020-02-15 22:01:51 -05:00
parent 2499893c6a
commit ee338acb02
3 changed files with 3 additions and 3 deletions

2
app.js
View File

@@ -41,7 +41,7 @@ if (process.env.DRACHTIO_HOST) {
});
}
else {
srf.listen({host: process.env.DRACHTIO_PORT, secret: process.env.DRACHTIO_SECRET});
srf.listen({port: process.env.DRACHTIO_PORT, secret: process.env.DRACHTIO_SECRET});
}
if (process.env.NODE_ENV === 'test') {
srf.on('error', (err) => {