Why flask_cors didn't return response directly (before Decorator @before_request) when get a OPTIONS request? · Issue #196 · corydolphin/ flask-cors · GitHub
Access to XMLHttpRequest at 'http://...' from origin 'http://localhost:8000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request. ·
![Kedasha is learning about AI + ML ✨ on X: "just spent the better part of an hour debugging a flask api and react client CORS issue 😭 turns out you gotta Kedasha is learning about AI + ML ✨ on X: "just spent the better part of an hour debugging a flask api and react client CORS issue 😭 turns out you gotta](https://pbs.twimg.com/media/GGgA5r3XYAAiOhw.jpg)