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

Ordering within middleware...? #20

Closed
Siyfion opened this issue Jun 4, 2014 · 1 comment
Closed

Ordering within middleware...? #20

Siyfion opened this issue Jun 4, 2014 · 1 comment

Comments

@Siyfion
Copy link
Contributor

Siyfion commented Jun 4, 2014

Essentially I've encountered an issue with regards to where the cors middleware is injected, please see: expressjs/multer#25 for further details (and the resolution at the bottom). Is there a specific place it should be injected? First?

@grassick
Copy link

Even injecting it first wreaks havoc if you do the form parsing (using formidable or busboy) in a callback. If cors is processed, it seems to prevent body parsing from working properly in express 4.

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

2 participants