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:
1
frontend/.env.production
Normal file
1
frontend/.env.production
Normal file
@@ -0,0 +1 @@
|
|||||||
|
VITE_PANEL_URL=https://panel.corrosionmgmt.com
|
||||||
Reference in New Issue
Block a user