Ivanyan π΄
Explore posts from serversRRailway
β’Created by Ivanyan π΄ on 5/19/2024 in #βο½help
CORS issue calling to railway from other domain
Thank you a lot for your support :salute:
10 replies
RRailway
β’Created by Ivanyan π΄ on 5/19/2024 in #βο½help
CORS issue calling to railway from other domain
Yes, I'm using gunicorn
10 replies
RRailway
β’Created by Ivanyan π΄ on 5/19/2024 in #βο½help
CORS issue calling to railway from other domain
I figured it out. On the front end, I actually called to
http://c...pp/1980
though it should be https://c...pp/1980
This was a typo as my code was generated by Copilot
My railway server took the http request, redirected to make it https. That's why we got the Redirect is not allowed for a preflight request.
error
We can mark my problem as solved nΖ‘10 replies