add @user

This commit is contained in:
2026-01-16 16:48:55 +09:00
parent 40815a3b60
commit 2fab00c322
6 changed files with 141 additions and 17 deletions

View File

@@ -801,8 +801,11 @@ async function generate() {
console.log('Generated: /app.html')
// Generate _redirects for Cloudflare Pages (SPA routes)
const redirects = `/app / 301
/oauth/* /app.html 200
// Only handle dynamic routes - static files are served automatically
const redirects = `/oauth/* /app.html 200
/@* /app.html 200
/at/* /app.html 200
/new /app.html 200
`
fs.writeFileSync(path.join(distDir, '_redirects'), redirects)
console.log('Generated: /_redirects')