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

Prefix API_URI with NEXT_PUBLIC_ #36

Merged
merged 1 commit into from
Apr 22, 2023
Merged

Prefix API_URI with NEXT_PUBLIC_ #36

merged 1 commit into from
Apr 22, 2023

Conversation

eraviart
Copy link
Contributor

Rename environment variable API_URI to NEXT_PUBLIC_API_URI, to allow to customize it, because only environment variables prefixed with NEXT_PUBLIC_ are exposed to the browser (see https://nextjs.org/docs/basic-features/environment-variables#exposing-environment-variables-to-the-browser).

@Josh-XT Josh-XT merged commit b03f9f9 into Josh-XT:main Apr 22, 2023
@eraviart eraviart deleted the api_uri branch April 23, 2023 07:31
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.

2 participants