1
0

Fix SPA routing for GitHub Pages deployment

- Update 404.html with React content instead of Vue
- Add automatic 404.html copy to build script
- Fix URL typo in og:url meta tag
- Ensure client-side routing works for user pages

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-07-18 15:26:05 +09:00
parent 510899a0dd
commit 2cd1a62e5d
3 changed files with 22 additions and 12 deletions

View File

@@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"build": "tsc && vite build && cp dist/index.html dist/404.html",
"preview": "vite preview",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
},