-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUESTION] Deployment API_BASE_URL #64
Comments
Hi @bolicd , I think the CORS setting should be done on the API server side instead of here (the universal-rendered app should act as client side when calling the APIs). |
Hey, there is no issue here one just has to be aware of this when redirecting from multiple domains. I've implemented this on web server level, basically multiple domains are redirected to the one root domain which uses one API_BASE_URL. Thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
is there a way to add wildcard or something else to API_BASE_URL param?
Im asking this because I have a domain www.something.com. If i set API_BASE_URL , everything works but if I do something.com, I get CORS error.
Since I can set only one API_BASE_PARAM any way to set it to work in both ways? (www and * )
THanks
The text was updated successfully, but these errors were encountered: