WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the end of ch3, the author explained how to handle cors errors and provide a custom error message back to the client.
The following code was added inside return_error to handle CorsForbidden cors errors, but the return_error never really gets called when there is such an error.
I believe it is because the recover filter is chained before adding the cors filters.
Sorry if I used the wrong terms. I am in the learning process