forked from Nexmo/node-call-whisper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ NEXMO_APP_FILE_NAME= | |
CALL_CENTER_NUMBER= | ||
INBOUND_NUMBER_1= | ||
INBOUND_NUMBER_2= | ||
DOMAIN= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
var express = require('express'); | ||
// var bodyParser = require('body-parser'); | ||
|
||
// create a new express server | ||
var express = require('express'); | ||
var app = express(); | ||
app.set('port', (process.env.PORT || 5000)); | ||
// app.use(bodyParser.urlencoded({ extended: false })); | ||
|
||
// start the app and listen on port 5000 | ||
app.listen(app.get('port'), '127.0.0.1', function() { | ||
console.log('SMS Proxy App listening on port', app.get('port')); | ||
console.log('Listening on port', app.get('port')); | ||
}); | ||
|
||
module.exports = app; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters