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) => {

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "sbc-outbound",
"version": "0.3.0",
"version": "0.3.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "sbc-outbound",
"version": "0.3.0",
"version": "0.3.1",
"main": "app.js",
"engines": {
"node": ">= 8.10.0"