Harden MVP runtime and fix packaged desktop white screen

This commit is contained in:
Ryan Lancaster
2026-03-18 13:05:14 -04:00
parent 9302a88aea
commit 4a7b3061ed
14 changed files with 359 additions and 29 deletions

9
.env
View File

@@ -4,3 +4,12 @@
PORT_BACKEND=4000 # Express REST API → http://localhost:4000
PORT_FRONTEND_DEV=5173 # Vite dev server → http://localhost:5173
PORT_FRONTEND_DEV_FALLBACK=5174 # Optional local fallback if 5173 is already in use
# Derived URLs for this project (kept explicit to avoid cross-project confusion)
APP_URL=http://localhost:5173
VITE_API_URL=http://localhost:4000/api
API_BASE=http://localhost:4000/api
# Browser origins allowed to call backend
CORS_ORIGIN=http://localhost:5173,http://localhost:5174,http://localhost:4000,http://10.0.0.252:5173,http://10.0.0.252:5174,null