✌️
This commit is contained in:
parent
39feb54aab
commit
ec6300f5ae
1 changed files with 2 additions and 6 deletions
|
@ -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 a new issue