fix: Add VITE_PANEL_URL for production builds

Vite bakes env vars at build time, not runtime. Without .env.production
in the frontend directory, the Docker build had no VITE_PANEL_URL and
Sign In / Get Started links resolved to empty hrefs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Vantz Stockwell
2026-02-15 10:39:02 -05:00
parent 77155d30be
commit 8bea889145

1
frontend/.env.production Normal file
View File

@@ -0,0 +1 @@
VITE_PANEL_URL=https://panel.corrosionmgmt.com