Fixed frontend env variables not working

This commit is contained in:
João Vitória Silva
2024-07-25 12:34:14 +01:00
parent ee3b3394b0
commit 0c38d3a7c1
6 changed files with 8 additions and 8 deletions

View File

@@ -67,8 +67,8 @@ Table bellow shows supported environment variables. Variables marked with option
Environemnt variable | Default value | Optional | Notes
--- | --- | --- | ---
VITE_BACKEND_PROTOCOL | http | Yes | Needs to be https if you want to enable Strava integration. Strava callback relies on this. You may need to update this variable based on docker image spin up (api host or local ip (example: http://192.168.1.10:98))
VITE_BACKEND_HOST | localhost:98 | Yes | Needs to be set and be Internet faced/resolved if you want to enable Strava integration. Strava callback relies on this. You may need to update this variable based on docker image spin up (api host or local ip (example: http://192.168.1.10:98))
MY_APP_BACKEND_PROTOCOL | http | Yes | Needs to be https if you want to enable Strava integration. Strava callback relies on this. You may need to update this variable based on docker image spin up (api host or local ip (example: http://192.168.1.10:98))
MY_APP_BACKEND_HOST | localhost:98 | Yes | Needs to be set and be Internet faced/resolved if you want to enable Strava integration. Strava callback relies on this. You may need to update this variable based on docker image spin up (api host or local ip (example: http://192.168.1.10:98))
Frontend dependencies:
- To check npm dependencies used, use npm file (package.json)