chore: vercel rewrites point at workorder-api.lverma.com (VPS)

This commit is contained in:
bot 2026-08-31 21:11:09 +00:00
parent 35069fe4ad
commit 90b01f7414

View file

@ -5,9 +5,9 @@
"buildCommand": "npm run build -w @workorders/shared && npm run build -w frontend", "buildCommand": "npm run build -w @workorders/shared && npm run build -w frontend",
"outputDirectory": "frontend/dist", "outputDirectory": "frontend/dist",
"rewrites": [ "rewrites": [
{ "source": "/api/(.*)", "destination": "https://workorders-api.onrender.com/api/$1" }, { "source": "/api/(.*)", "destination": "https://workorder-api.lverma.com/api/$1" },
{ "source": "/health", "destination": "https://workorders-api.onrender.com/health" }, { "source": "/health", "destination": "https://workorder-api.lverma.com/health" },
{ "source": "/ready", "destination": "https://workorders-api.onrender.com/ready" }, { "source": "/ready", "destination": "https://workorder-api.lverma.com/ready" },
{ "source": "/(.*)", "destination": "/index.html" } { "source": "/(.*)", "destination": "/index.html" }
] ]
} }