From 8bea88914500cb4fa778bfac2fc9ed3b82bda344 Mon Sep 17 00:00:00 2001 From: Vantz Stockwell Date: Sun, 15 Feb 2026 10:39:02 -0500 Subject: [PATCH] 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 --- frontend/.env.production | 1 + 1 file changed, 1 insertion(+) create mode 100644 frontend/.env.production diff --git a/frontend/.env.production b/frontend/.env.production new file mode 100644 index 0000000..66d84e0 --- /dev/null +++ b/frontend/.env.production @@ -0,0 +1 @@ +VITE_PANEL_URL=https://panel.corrosionmgmt.com