myheats

Live heats, scoring and leaderboard for sport events
git clone https://git.in0rdr.ch/myheats.git
Log | Files | Refs | Pull requests | README | LICENSE

commit 5d2ab36b27e4aa4f9d10c86b8e43d7386e563b7f
parent da094d825d7108762ba0cb5c6a5589f4a54823c6
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Sun, 20 Oct 2024 10:48:36 +0200

feat(env): shared variables

Diffstat:
M.env | 18++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/.env b/.env @@ -1,3 +1,12 @@ +########## +# Shared # +########## + +# Full URI to backend http API +VITE_API_URI=http://127.0.0.1 +# Backend API http port +VITE_API_PORT=8000 + ############ # Frontend # ############ @@ -6,10 +15,6 @@ VITE_APP_DOC_TITLE='My Heats' # Cookie TTL in seconds (session ttl in the admin/judges frontend), 60m VITE_SESSION_TTL=3600 -# Full URI to backend http API -VITE_API_URI=http://127.0.0.1 -# Backend API http port -VITE_API_PORT=8000 # Full URI to backend websocket API VITE_WS_URI=ws://127.0.0.1 # Backend API websocket port @@ -39,6 +44,6 @@ SMTP_USER= SMTP_FROM= SMTP_PASSWORD= -# PostgreSQL environment variables +# PostgreSQL environment variables for psql client # https://github.com/porsager/postgres?tab=readme-ov-file#environmental-variables -# PGHOST, PGPORT, PGDATABASE, PGUSERNAME, PGPASSWORD, etc. +# PGHOST, PGPORT, PGDATABASE, PGUSERNAME, PGPASSWORD, etc. +\ No newline at end of file