Files
lintsinghua 074ac71b20 docs(readme): Update deployment and database mode documentation
- Clarify database mode details in both README.md and README_EN.md
- Highlight default local database mode (IndexedDB) usage
- Remove redundant recommendation for local database configuration
- Add explanation of Supabase cloud database option
- Update notes about Vercel deployment and backend API
- Modify vercel.json to set default local database environment variable
2025-11-11 17:22:50 +08:00

29 lines
472 B
JSON

{
"version": 2,
"buildCommand": "npm run build",
"outputDirectory": "dist",
"framework": "vite",
"build": {
"env": {
"VITE_USE_LOCAL_DB": "true"
}
},
"rewrites": [
{
"source": "/(.*)",
"destination": "/index.html"
}
],
"headers": [
{
"source": "/assets/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
}
]
}