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 API route dynamically #3

Open
Ethan-Arrowood opened this issue Aug 12, 2019 · 2 comments
Open

Configure API route dynamically #3

Ethan-Arrowood opened this issue Aug 12, 2019 · 2 comments

Comments

@Ethan-Arrowood
Copy link
Contributor

I want to be able to specify the API url via some environment or build variable.

There should be a way to specify the production API url (i.e. https://tsconfig-api.matterhorndev.now.sh ) and also a way to specify the development API url (i.e. localhost:3000)

@orta
Copy link

orta commented Aug 18, 2019

I think it's probably fine to just use relative urls instead?

@orta
Copy link

orta commented Aug 18, 2019

also, congrats on graduating 🎉

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

2 participants