Open anarion80 opened 10 months ago
Where should this .env
file go?
I'm running this app from a helm chart and I'm loading it from a configmap to a file in the container. When I shell into the container it puts you in /srv
and that's where I mounted it. Is that the correct location? Should it be in /app
? Somewhere else?
From what I found googling stuff like vite env
: \
The environment variable stuff seems to be build time only, which makes sense since it compiles a SPA.
But I will not create custom builds just to configure a variable...
Just like #35 -> the issue still exists. Even though API_URL is defined and available, there is still
Error: API_URL is undefined. Please set it in .env file.
in console and the frontend doesn't really work.