patch-testing-coworker / web /vercel.json
EnergyVenom's picture
Deploy Patch Testing Co-worker
a289b2a verified
Raw History Blame Contribute Delete
623 Bytes
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"framework": "vite",
"buildCommand": "npm run build",
"outputDirectory": "dist",
"rewrites": [
{ "source": "/api/:path*", "destination": "https://patch-coworker-demo.onrender.com/api/:path*" },
{ "source": "/((?!api/).*)", "destination": "/index.html" }
],
"headers": [
{
"source": "/(.*)",
"headers": [
{ "key": "X-Content-Type-Options", "value": "nosniff" },
{ "key": "X-Frame-Options", "value": "SAMEORIGIN" },
{ "key": "Referrer-Policy", "value": "no-referrer" }
]
}
]
}