This commit is contained in:
parent
39feb54aab
commit
ec6300f5ae
|
@ -63,13 +63,9 @@ function createServer() {
|
||||||
export default () => new Promise(resolve => {
|
export default () => new Promise(resolve => {
|
||||||
const server = createServer();
|
const server = createServer();
|
||||||
|
|
||||||
/**
|
// Init stream server
|
||||||
* Steaming
|
|
||||||
*/
|
|
||||||
require('./api/streaming')(server);
|
require('./api/streaming')(server);
|
||||||
|
|
||||||
/**
|
// Listen
|
||||||
* Server listen
|
|
||||||
*/
|
|
||||||
server.listen(config.port, resolve);
|
server.listen(config.port, resolve);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue