diff --git a/apps/website/index.html b/apps/website/index.html
index 859951ef7e..70b71646ba 100644
--- a/apps/website/index.html
+++ b/apps/website/index.html
@@ -6,7 +6,7 @@
-
+
diff --git a/apps/website/vite.config.ts b/apps/website/vite.config.ts
index 14c4f63750..ade4a556b1 100644
--- a/apps/website/vite.config.ts
+++ b/apps/website/vite.config.ts
@@ -4,7 +4,11 @@ import path from 'path'
// https://vite.dev/config/
export default defineConfig(() => ({
- base: '/', // Custom domain t27.ai (no subpath)
+ // Relative base so the built SPA works wherever it is served from: the apex
+ // (t27.ai/) and the project-pages subpath (t27.ai/trinity/) alike. With '/'
+ // the subpath deploy asked for /assets/... at the apex root, got 404s, and
+ // the page rendered blank. Safe here because routing is HashRouter.
+ base: './',
plugins: [react()],
resolve: {
alias: {