-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvercel.json
More file actions
56 lines (56 loc) · 2.46 KB
/
vercel.json
File metadata and controls
56 lines (56 loc) · 2.46 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"buildCommand": "npx nx build tabata-ai",
"outputDirectory": "dist/apps/tabata-ai",
"framework": null,
"headers": [
{
"source": "/api/workouts/:path*",
"headers": [
{ "key": "Access-Control-Allow-Origin", "value": "*" },
{ "key": "Access-Control-Allow-Methods", "value": "GET, POST, PUT, DELETE, OPTIONS" },
{ "key": "Access-Control-Allow-Headers", "value": "Content-Type, Authorization" }
]
},
{
"source": "/api/exercisedb/:path*",
"headers": [
{ "key": "Access-Control-Allow-Origin", "value": "*" },
{ "key": "Access-Control-Allow-Methods", "value": "GET, OPTIONS" },
{ "key": "Access-Control-Allow-Headers", "value": "Content-Type, Authorization" }
]
},
{
"source": "/api/exercises-db/:path*",
"headers": [
{ "key": "Access-Control-Allow-Origin", "value": "*" },
{ "key": "Access-Control-Allow-Methods", "value": "GET, OPTIONS" },
{ "key": "Access-Control-Allow-Headers", "value": "Content-Type, Authorization" }
]
},
{
"source": "/api/user-workouts/:path*",
"headers": [
{ "key": "Access-Control-Allow-Origin", "value": "*" },
{ "key": "Access-Control-Allow-Methods", "value": "GET, PUT, OPTIONS" },
{ "key": "Access-Control-Allow-Headers", "value": "Content-Type, Authorization" }
]
},
{
"source": "/api/generate-workout",
"headers": [
{ "key": "Access-Control-Allow-Origin", "value": "*" },
{ "key": "Access-Control-Allow-Methods", "value": "POST, OPTIONS" },
{ "key": "Access-Control-Allow-Headers", "value": "Content-Type" }
]
}
],
"rewrites": [
{ "source": "/preview.png", "destination": "/en/preview.png" },
{ "source": "/api/workouts/:id", "destination": "/api/workouts" },
{ "source": "/api/exercisedb/:path*", "destination": "/api/exercisedb" },
{ "source": "/api/exercises-db/:path*", "destination": "/api/exercises-db" },
{ "source": "/api/generate-workout", "destination": "/api/generate-workout" },
{ "source": "/((?!api/).*)", "destination": "/en/index.html" }
]
}