-
-
Notifications
You must be signed in to change notification settings - Fork 19
Can't make the multipart work with koa-router #41
Copy link
Copy link
Open
Labels
Pkg: koa-better-bodyPriority: MediumThis issue may be useful, and needs some attention.This issue may be useful, and needs some attention.Status: AcceptedIt's clear what the subject of the issue is about, and what the resolution should be.It's clear what the subject of the issue is about, and what the resolution should be.Status: BlockedAnother issue needs to be resolved first or an external blocker.Another issue needs to be resolved first or an external blocker.Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.Inconsistencies or issues which will cause an issue or problem for users or implementors.
Metadata
Metadata
Assignees
Labels
Pkg: koa-better-bodyPriority: MediumThis issue may be useful, and needs some attention.This issue may be useful, and needs some attention.Status: AcceptedIt's clear what the subject of the issue is about, and what the resolution should be.It's clear what the subject of the issue is about, and what the resolution should be.Status: BlockedAnother issue needs to be resolved first or an external blocker.Another issue needs to be resolved first or an external blocker.Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.Inconsistencies or issues which will cause an issue or problem for users or implementors.
I'm on
koa@2.2.0,koa-router@7.2.0andkoa-better-body@3.0.2.Trying to disable multipart for all the routes except
/profilepic.with this code
changeProfilePictureis never called. It works if I remove thebody()from the router and usemultipart: trueonapp.use.