- vite.config.ts: dev base '/', build base '/sandoniette/' (subpath deploy). - Asset loads use import.meta.env.BASE_URL so paths resolve at the subpath regardless of trailing slash. vite-env.d.ts for the env types. - deploy.sh: build -> rsync dist/ -> docker cp into forum-nginx web root /usr/share/nginx/html/sandoniette (matches the partly.party games pattern). - Verified LIVE: index+JS 200, JS served as application/javascript (not the HTML-fallback failure), PNGs image/png, title screen renders in-browser. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| public/assets/img | ||
| scripts | ||
| src | ||
| .gitignore | ||
| deploy.sh | ||
| index.html | ||
| OPUS-BUILD-BRIEF.md | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||
| vite.config.ts | ||