Skip to content

Commit aae2c67

Browse files
mohnjilesclaude
andcommitted
docs: add root index.html fallback so SWA deploy validation passes
The static-web-apps-deploy action requires a default file (index.html) at the app root, and the /stability-matrix/ prefix left the dist root without one, failing the first deploy. This page satisfies the check and meta-refreshes to /stability-matrix/ as a fallback for hosts without SWA routing (e.g. local preview); on Azure the "/" 302 route still takes precedence. Replaced by a real landing page when the site goes multi-product. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 1150f87 commit aae2c67

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

docs/public/index.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<!--
6+
Root landing fallback. On Azure SWA the "/" route in staticwebapp.config.json
7+
302s to /stability-matrix/ before this file is ever served; this page exists
8+
because the SWA deploy action requires an index.html at the app root, and it
9+
doubles as the redirect for local preview (which has no SWA routing). Replaced
10+
by a real product landing page when the site goes multi-product.
11+
-->
12+
<meta http-equiv="refresh" content="0; url=/stability-matrix/" />
13+
<link rel="canonical" href="https://docs.lykos.ai/stability-matrix/" />
14+
<title>Lykos Docs</title>
15+
</head>
16+
<body>
17+
<p>Redirecting to the <a href="/stability-matrix/">Stability Matrix documentation</a>&hellip;</p>
18+
</body>
19+
</html>

0 commit comments

Comments
 (0)