Configure Vercel deployment and preserve deployed theme support

This commit is contained in:
StormRunner06106
2026-09-13 14:56:10 -07:00
parent d52495945b
commit cb8d062481
27 changed files with 610 additions and 60 deletions
+22
View File
@@ -0,0 +1,22 @@
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"framework": null,
"installCommand": "npm ci --prefix frontend",
"buildCommand": "npm run build --prefix frontend",
"outputDirectory": "frontend/dist",
"functions": {
"api/index.py": {
"maxDuration": 60,
"includeFiles": "{backend/**,resumes/resume-v5.pdf}",
"excludeFiles": "{frontend/**,node_modules/**,.venv/**,scripts/**,backend/test_*.py,backend/.env*,backend/data/uploads/**}"
}
},
"routes": [
{ "src": "/api(?:/.*)?", "dest": "/api/index.py" },
{ "handle": "filesystem" },
{ "src": "/.*", "dest": "/index.html" }
],
"crons": [
{ "path": "/api/cron/media-cleanup", "schedule": "0 10 * * *" }
]
}