Skip to content

Fix missing env variables in server.js #487

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
Apr 30, 2025

Conversation

jakob-info
Copy link
Contributor

The VITE_* variables from .env in /frontend/ are not available in server.js. The added package dotenv fixes that as it loads them into process.env. Fixes #486

Checklist

  • I have read the contributing guidelines.
  • My code is of good quality and follows the coding standards of the project.
  • I have tested my changes, and they work as expected.

Thank you for your contribution! 🎉

@daveearley
Copy link
Contributor

Thanks for this! This will be useful for people who aren't using the Docker setup

@daveearley daveearley merged commit 144d5de into HiEventsDev:develop Apr 30, 2025
1 check passed
@github-actions github-actions bot locked and limited conversation to collaborators Apr 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛Missing env variables in server.js
2 participants