breaking change in 1.2.0
targos opened this issue · 4 comments
targos commented
In 677833d an unconditional yield next;
has been added at the end of the middleware. It is breaking preflight requests on our servers because in earlier versions the middleware chain stopped at this.status = 204
.
maximusmusterus1 commented
I've experienced the same problem and downgraded to 1.1.0 for the moment. What is the intended way to solve this? In my opinion kcors should handle the preflight request by itself. Otherwise I would need to add another middleware to 'close' options-requests before they will be responded with 404.
dead-horse commented
sorry, it will fixed in #16
targos commented
Thanks!
maximusmusterus1 commented
Thank you, good job!