forked from Next-Web-Fun/Next-API-Proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvercel.json
41 lines (41 loc) · 1.16 KB
/
vercel.json
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
38
39
40
41
{
"regions": ["hnd1"],
"rewrites": [
{
"source": "/usage:match*",
"destination": "http://next-api-jade.vercel.app/usage/public"
},
{
"source": "/api/:match*",
"destination": "https://next-api-jade.vercel.app/api/:match*"
},
{
"source": "/openai/:match*",
"destination": "https://next-api-jade.vercel.app/openai/:match*"
},
{
"source": "/_next/static/:match*",
"destination": "https://next-api-jade.vercel.app/_next/static/:match*"
},
{
"source": "/v1/:match*",
"destination": "https://next-api-jade.vercel.app/api/openai/v1/:match*"
},
{
"source": "/chat/:match*",
"destination": "https://next-api-jade.vercel.app/api/openai/v1/chat/:match*"
},
{
"source": "/dashboard/:match*",
"destination": "https://next-api-jade.vercel.app/api/openai/v1/dashboard/:match*"
},
{
"source": "/models/:match*",
"destination": "https://next-api-jade.vercel.app/api/openai/v1/models/:match*"
},
{
"source": "/embeddings/:match*",
"destination": "https://next-api-jade.vercel.app/api/openai/v1/embeddings/:match*"
}
]
}