Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server class does not receive a port information #204

Open
Max-im opened this issue Feb 21, 2023 · 0 comments
Open

Server class does not receive a port information #204

Max-im opened this issue Feb 21, 2023 · 0 comments

Comments

@Max-im
Copy link

Max-im commented Feb 21, 2023

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.

  1. during Server class initialization port info does not pass into the class and the server has no chance to start correctly
  2. Chanel requires incorrectly, it exports like module.exports = Chanel but requires like const { Chanel } = require(../) please lose curly braces here
  3. application requires incorrectly, it exports like module.exports = application but requires like const { application } = require(../) please lose curly braces here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant