add @user
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user