From 42cfef12bfdb9484b23cbffcfa0cfe86bdd8c2ec Mon Sep 17 00:00:00 2001 From: Yashas Date: Mon, 24 Aug 2026 15:47:26 +0530 Subject: [PATCH] fix(build): add BASE_HREF placeholder + config.js tag to index.html MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The build asserts on and placement fails without it, so nothing was ever placed and nginx 404'd. The ./config.js tag is the other half: it carries this environment's VITE_ZINO_API_URL, and without it requireConfigValue throws and the app renders nothing even once served. Order matters — the placeholder precedes the favicon href, or that relative ref resolves against the wrong root once mounted. Verified by simulating placement locally: filled the placeholder, wrote a config.js beside the artifact, served it under /zurich-kotak/ and loaded it. index.html, the JS bundle, config.js and the favicon all 200, the login renders, and with config.js removed the root stays empty rather than falling back to some other backend. Co-Authored-By: Claude Opus 5 (1M context) --- index.html | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index b4bb30b..7b07a9e 100644 --- a/index.html +++ b/index.html @@ -2,9 +2,23 @@ - + + + Zurich Kotak | Lead Desk + +