From 5ee5820306ec47fe03f5a7b8d91f7c81f640b8a4 Mon Sep 17 00:00:00 2001 From: Locust agent Date: Mon, 2 Nov 2026 14:52:06 +0000 Subject: [PATCH] feat(site): emit 404.html SPA fallback into the Pages output Add public/404.html, a byte-identical copy of the built index.html with relative asset references (base './'), so a cold request to any non-route path on GitHub Pages boots the SPA and the router redirects. Vite copies it verbatim into dist/ via publicDir; verified dist/404.html is byte-identical to public/404.html and a plain static server returns HTTP 200 with the app shell for an unknown path. --- public/404.html | 62 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 public/404.html diff --git a/public/404.html b/public/404.html new file mode 100644 index 0000000..0ef3f2b --- /dev/null +++ b/public/404.html @@ -0,0 +1,62 @@ + + + + + + + + + + BEAT - Balanced. Empowered. Async. Teams. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +