Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png" />
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png" />
<link rel="manifest" href="/manifest.json" />
<link rel="manifest" href="manifest.json" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down
6 changes: 5 additions & 1 deletion apps/website/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
Loading