reflex
reflex copied to clipboard
[REF-3583] The app doesn't respect CORS
Discussed in https://github.com/orgs/reflex-dev/discussions/3813
Originally posted by dcn0907 August 20, 2024 The api_url and the cors configuration is not been takken by the app, I'm deploying the frontend in vercel and the backend in render, when I try to run the app changing the url it doesn't break. It's steel working even in the local host. import reflex as rx
config = rx.Config( app_name="link_bio", cors_allowed_origins=[ "https://grone-web-bice.vercel.app/" ] )