frontgen rejects a build whose index.html has no <!--BASE_HREF-->: relative asset refs only resolve on a deep link once placement rewrites it, so without the placeholder a deep link is a white screen. Verified against the three assertions the builder makes — relative refs, the placeholder, and a ./config.js reference. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
26 lines
1.1 KiB
HTML
26 lines
1.1 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<!-- viewport-fit=cover so the navy header can sit under an iPhone notch and
|
|
the action bar can clear the home indicator via env(safe-area-inset-*). -->
|
|
<!-- Placement rewrites this to the mount path. Without it the build is
|
|
rejected: relative asset refs only resolve on a deep link once the
|
|
base href is right. -->
|
|
<!--BASE_HREF-->
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
|
|
<meta name="theme-color" content="#0B2A5B" />
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
|
<meta name="apple-mobile-web-app-title" content="Lead Desk" />
|
|
<link rel="manifest" href="./manifest.webmanifest" />
|
|
<link rel="icon" href="./brand/zurich_logo.webp" />
|
|
<title>Zurich Kotak — Lead Desk</title>
|
|
<script src="./config.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.jsx"></script>
|
|
</body>
|
|
</html>
|