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

refactor!: use environment variable #26

Merged
merged 2 commits into from
Jul 22, 2023

Conversation

simenandre
Copy link
Member

Instead of having baseUrl either be set to sandbox, production or something, I think its more expressive to set environment for predefined URLs and if you are setting an URL it should be a baseUrl. Should also make types better.

Instead of having baseUrl either be set to sandbox, production or something, I think its more expressive to set environment for predefined URLs and if you are setting an URL it should be a baseUrl. Should also make types better.
@simenandre simenandre merged commit 97e6ee5 into main Jul 22, 2023
@simenandre simenandre deleted the simenandre/explicit-environment branch July 22, 2023 12:23
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

Successfully merging this pull request may close these issues.

1 participant