Skip to content
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

Deploy to Internet not localhost / show error [Heroku] #22

Open
razeconix opened this issue Aug 15, 2020 · 2 comments
Open

Deploy to Internet not localhost / show error [Heroku] #22

razeconix opened this issue Aug 15, 2020 · 2 comments

Comments

@razeconix
Copy link

razeconix commented Aug 15, 2020

!--- Local machine work perfect ---!

ภาพ

!----------- Internet host ----------!

ภาพ

if I use localhost:5000/products it's will error about CROS, not success

ภาพ
Any suggestion?

@lofung
Copy link

lofung commented Oct 29, 2020

this also does not work from glitch. the POST API is just wrong however cannot know which

@lukeh990
Copy link

lukeh990 commented Dec 3, 2020

services by default does not run both a react server and an express api at start. If you want to use heroku free tier you may have to use two instances and change the http requests to the new url.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants