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

mountable Express.js 4.x middleware #65

Merged
merged 9 commits into from May 26, 2015

Conversation

jeffreywescott
Copy link
Contributor

This series of changes allows mongo-express to be mounted as a sub-app within another Express 4 app. It also improves the general modularity of the module such that the config object can be passed through as an argument to the middleware, the router, and all of the routes. This makes it so that the only file that depends on config.js is app.js, which won't be used when mounting as a middleware.

@andzdroid
Copy link
Member

Thanks for the pull request!

andzdroid added a commit that referenced this pull request May 26, 2015
mountable Express.js 4.x middleware
@andzdroid andzdroid merged commit 2bf7df9 into mongo-express:master May 26, 2015
ryodocx pushed a commit to ryodocx/mongo-express that referenced this pull request Mar 18, 2019
mountable Express.js 4.x middleware
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

Successfully merging this pull request may close these issues.

None yet

2 participants