This PR changes the behavior when a request is not allowed so that it returns the unaltered handler result instead of nil.
The expected change is that the browser shouldn't evaluate the response and trigger a CORS error on the developer console instead of displaying 404 error page.
fixes #11
This PR changes the behavior when a request is not allowed so that it returns the unaltered handler result instead of
nil
.The expected change is that the browser shouldn't evaluate the response and trigger a CORS error on the developer console instead of displaying 404 error page.