Skip to content

http.listen vs app.listenΒ #19

@nickrttn

Description

@nickrttn

In the index.js the app object is being passed into http.Server(), which is later on called with http.listen(). Is there any difference or upside to this method over just using express' builtin app.listen();? Why and how does this work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions