-
Notifications
You must be signed in to change notification settings - Fork 397
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
koa server always responds 404 #210
Comments
Could you make a PR and test the changes? 😉 |
Same is happening for me using koa@2 with a non-async controller action decorated with |
@mingyang91 Will you find some time to make a PR as you described the problem and found the fix? |
sure, i will make a pr in next week. |
This is fixed in #240. Will be released in |
Ok, so I'm closing this issue. @mingyang91 feel free to reopen if the issue will still exist in 0.7.2. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
In koa async controller function, if I set
@Authroized()
, server always responds"404 Not Found"
I think this code Incorrect
https://github.com/pleerock/routing-controllers/blob/master/src/driver/koa/KoaDriver.ts#L101-L108
it should be modified as follows.
https://github.com/mingyang91/routing-controllers/blob/master/src/driver/koa/KoaDriver.ts#L107-L114
The text was updated successfully, but these errors were encountered: