- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 104
 
Open
Description
In order to init the Server class, 2 arguments are passed (config.server and options)
in the second argument (options) there are 3 values (cert, Chanel and app instance).
however,  Chanel and the app instance require directly in the Server class file.
- during Server class initialization port info does not pass into the class and the server has no chance to start correctly
 - Chanel requires incorrectly, it exports like 
module.exports = Chanelbut requires likeconst { Chanel } = require(../)please lose curly braces here - application requires incorrectly, it exports like 
module.exports = applicationbut requires likeconst { application } = require(../)please lose curly braces here 
Metadata
Metadata
Assignees
Labels
No labels