Closed Nighthawk14 closed 8 years ago
what version of koa and kcors are you using?
koa@2.0.0-alpha.3 and kcors@2.1.1 :)
On 28 Jul 2016, at 4:47 PM, Yiyu He notifications@github.com wrote:
what version of koa and kcors are you using?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
if you are using default error handler in koa, please update your koa to 2.0.0-beta.4
@dead-horse Thanks for the help, it's definitely better! 😃
When using
ctx.throw
orctx.assert
the cors headers are not sent back. Maybe I'm using it wrong but any help would be welcome :).example:
Thanks!