Skip to content

The app.configure() function has been removed in Express 4 #36

@xx7y7xx

Description

@xx7y7xx

I saw app.configure() was used in README.md and example/app.js. But in the latest version of Express (4.x), The configure function was removed.

https://expressjs.com/en/guide/migrating-4.html#other-changes

The app.configure() function has been removed. Use the process.env.NODE_ENV or app.get('env') function to detect the environment and configure the app accordingly.

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