Skip to content

Commit 75998cb

Browse files
committed
added vercel.json
1 parent c5d003a commit 75998cb

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

frontend/vercel.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"$schema": "https://openapi.vercel.sh/vercel.json",
3+
"framework": "nextjs",
4+
"rewrites": [{ "source": "/api/:path*", "destination": "https://taskaza.onrender.com/:path*" }],
5+
"redirects": [
6+
{ "source": "/redoc", "destination": "https://taskaza.onrender.com/redoc", "permanent": false },
7+
{ "source": "/docs", "destination": "https://taskaza.onrender.com/docs", "permanent": false }
8+
],
9+
"cleanUrls": true,
10+
"headers": [
11+
{
12+
"source": "/(.*)\\.js",
13+
"headers": [{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }]
14+
}
15+
]
16+
}

0 commit comments

Comments
 (0)