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

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

Open
xx7y7xx opened this issue Oct 21, 2016 · 3 comments
Open

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

xx7y7xx opened this issue Oct 21, 2016 · 3 comments

Comments

@xx7y7xx
Copy link

xx7y7xx commented Oct 21, 2016

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.

@TangMonk
Copy link

TangMonk commented Jan 3, 2017

+1

1 similar comment
@gusgard
Copy link

gusgard commented Apr 6, 2017

+1

@rkmax
Copy link

rkmax commented Jan 30, 2018

Yeah, please update the example setup, newcomer's mind will blow up

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

4 participants