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
Alan Cohen
committed
Dec 10, 2015
1 parent
3271b54
commit ae877c6
Showing
1 changed file
with
12 additions
and
14 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 |
---|---|---|
@@ -1,16 +1,14 @@ | ||
'use strict'; | ||
|
||
const createHTTPServer = require('../src/index').createHTTPServer; | ||
const port = 5990; | ||
const serverUrl = 'wss://s1.ripple.com'; | ||
|
||
|
||
function main() { | ||
const server = createHTTPServer({server: serverUrl}, port); | ||
server.start().then(() => { | ||
console.log('Server started on port ' + String(port)); | ||
}); | ||
} | ||
|
||
|
||
main(); | ||
const createHTTPServer = require('../src/index').createHTTPServer; | ||
const port = 5990; | ||
const serverUrl = 'wss://s1.ripple.com'; | ||
|
||
function main() { | ||
const server = createHTTPServer({server: serverUrl}, port); | ||
server.start().then(() => { | ||
console.log('Server started on port ' + String(port)); | ||
}); | ||
} | ||
|
||
main(); |