-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathvercel.json
More file actions
37 lines (37 loc) · 760 Bytes
/
Copy pathvercel.json
File metadata and controls
37 lines (37 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"framework": "vite",
"buildCommand": "npm run build",
"outputDirectory": "dist",
"rewrites": [
{
"source": "/api/openai/tts",
"destination": "/api/openai-tts"
},
{
"source": "/api/openai/proxy",
"destination": "/api/openai-proxy"
},
{
"source": "/api/anthropic/proxy",
"destination": "/api/anthropic-proxy"
},
{
"source": "/api/ollama/proxy",
"destination": "/api/ollama-proxy"
},
{
"source": "/api/:path*",
"destination": "/api/:path*"
},
{
"source": "/((?!api/).*)",
"destination": "/index.html"
}
],
"functions": {
"api/*.js": {
"maxDuration": 30
}
}
}