#Unable to pass env variables at runtime

2 messages · Page 1 of 1 (latest)

daring blaze
#

Im building a reactjs app using vitejs and i want it to read a env variable from the os rather than hardcoded in a .env file. please help

daring blaze
#

After long search, it seems that it's not possible to pass env variables at runtime as the app runs on browser unlike backend apps that run on server