Skip to content

feat: add BackendURL component and improve env variable handling #3

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

Merged
merged 2 commits into from
Feb 21, 2025

Conversation

monkeyjp
Copy link

  • Added BackendURL component to handle missing environment variables.
  • Updated main.jsx to check for VITE_BACKEND_URL and display BackendURL if not set.
  • Updated .env.example to clarify that frontend env variables use import.meta.env and must start with VITE_.
  • Modified render.yaml, changing BASENAME to VITE_BASENAME."

- Added  component to handle missing environment variables.
- Updated  to check for  and display  if not set.
- Updated  to clarify that frontend env variables use  and must start with .
- Modified , changing  to .
@rosinni rosinni merged commit 08f15f3 into 4GeeksAcademy:main Feb 21, 2025
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