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

There is a shorthand to listen the server. #25

Open
0x1026 opened this issue Feb 17, 2023 · 0 comments
Open

There is a shorthand to listen the server. #25

0x1026 opened this issue Feb 17, 2023 · 0 comments

Comments

@0x1026
Copy link

0x1026 commented Feb 17, 2023

return http.createServer(server.callback()).listen(port);

Please, check this code:
https://github.com/koajs/koa/blob/master/lib/application.js#L88-L102

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