fix(supabase): LAN trial serves the app sources only, no Postgres password in Vite

This commit is contained in:
bchanot committed 2026-11-04 23:03:47 +01:00
1 parent 25bdac4dd7
commit fb95255759
3 files changed
+10 -2

No files matched your search

+1 -1
View File
@@ -446,7 +446,7 @@ cmd_trial() {
( cd apps/app && FAUNOSTEO_TRIAL_GATEWAY="http://127.0.0.1:$PORT_TRIAL_GATEWAY" \
FAUNOSTEO_TRIAL_HOST="$TRIAL_HOST" \
VITE_SUPABASE_URL="http://$TRIAL_HOST:$PORT_TRIAL_APP" VITE_SUPABASE_ANON_KEY="$SB_ANON_KEY" \
exec node_modules/.bin/vite --config vite/trial.config.ts --host "$TRIAL_HOST" \
exec env -u PGPASSWORD node_modules/.bin/vite --config vite/trial.config.ts --host "$TRIAL_HOST" \
--port $PORT_TRIAL_APP --strictPort ) &
trial_pid=$!
wait "$trial_pid"