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

How to call react express api on production #63

Open
shinnachot opened this issue Mar 2, 2018 · 0 comments
Open

How to call react express api on production #63

shinnachot opened this issue Mar 2, 2018 · 0 comments

Comments

@shinnachot
Copy link

From this react-web-express-api-development-production article
when i want to call api on server side in localhost i call "localhost:3001/api/hello"
but how to call this api on production if i deploy real production like "test.com" and i try to call api like this "test.com/api/hello" it's not working they show display webpage by default

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

1 participant