mirror of
https://github.com/vee1e/workorder-desk.git
synced 2026-09-01 09:50:13 +00:00
chore: vercel rewrites point at workorder-api.lverma.com (VPS)
This commit is contained in:
parent
35069fe4ad
commit
90b01f7414
1 changed files with 3 additions and 3 deletions
|
|
@ -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" }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue