DiffWeave / vercel.json
shak3008's picture
fix(auth): add Vercel API proxy rewrite to HF backend, dynamic API_BASE fallback, and bcrypt 72-byte safeguard
17c354b
Raw History Blame Contribute Delete
699 Bytes
{
"buildCommand": "npm run build",
"outputDirectory": "dist",
"framework": "vite",
"headers": [
{
"source": "/.well-known/assetlinks.json",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Access-Control-Allow-Origin",
"value": "*"
}
]
}
],
"rewrites": [
{
"source": "/.well-known/assetlinks.json",
"destination": "/.well-known/assetlinks.json"
},
{
"source": "/api/:path*",
"destination": "https://shak3008-diffweave.hf.space/api/:path*"
},
{
"source": "/(.*)",
"destination": "/index.html"
}
]
}