mirror of
https://github.com/lintsinghua/DeepAudit.git
synced 2026-11-30 18:47:33 +08:00
- 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
29 lines
472 B
JSON
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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|