Skip to content

Add support to provide middle ware options to express router#137

Merged
seanadkinson merged 1 commit into
odysseyscience:masterfrom
bkneis:feature/add-support-for-middleware
Aug 17, 2017
Merged

Add support to provide middle ware options to express router#137
seanadkinson merged 1 commit into
odysseyscience:masterfrom
bkneis:feature/add-support-for-middleware

Conversation

@bkneis

@bkneis bkneis commented Aug 13, 2017

Copy link
Copy Markdown
Contributor

It's quite common for developers to want to protect their routes (especially if those routes interact with server resources like s3 buckets) with middle ware.

I love the library, but while trying to use it in a project it was not feasible out of the box as I could not use auth protected routes, rate limiting etc.

This PR allows a user to provide middle ware options to be used by the express routes.

This is my first PR in this repo so apologies if I missed any styling guidelines.

@seanadkinson

Copy link
Copy Markdown
Contributor

Looks good, thank you!

@seanadkinson seanadkinson merged commit a12060c into odysseyscience:master Aug 17, 2017
@seanadkinson

Copy link
Copy Markdown
Contributor

Pushed v4.3.0 with this change

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.

2 participants