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

Configure URLs under index.html to point to the corresponding host (Render, Heroku) #85

Open
KostaSav opened this issue May 28, 2024 · 0 comments

Comments

@KostaSav
Copy link
Owner

Example:

  1. when https://hp-api.onrender.com/ is used, then the route to All Characters should point to https://hp-api.onrender.com/api/characters
  2. when https://hp-api.herokuapp.com/ is used, then the route to All Characters should point to https://hp-api.herokuapp.com/api/characters

The URLs should be made configurable, which means that they will be stored somewhere and based on the host used, the corresponding API basepath is invoked.

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