-
Notifications
You must be signed in to change notification settings - Fork 3
/
vercel.json
44 lines (42 loc) · 1.5 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
42
43
44
{
"trailingSlash": false,
"rewrites": [
{ "source": "/api", "destination": "/api/root.json" },
{ "source": "/api/people", "destination": "/api/people/all.json" },
{ "source": "/api/people/:id", "destination": "/api/people/:id.json" },
{ "source": "/api/planets", "destination": "/api/planets/all.json" },
{ "source": "/api/planets/:id", "destination": "/api/planets/:id.json" },
{ "source": "/api/films", "destination": "/api/films/all.json" },
{ "source": "/api/films/:id", "destination": "/api/films/:id.json" },
{ "source": "/api/species", "destination": "/api/species/all.json" },
{ "source": "/api/species/:id", "destination": "/api/species/:id.json" },
{ "source": "/api/vehicles", "destination": "/api/vehicles/all.json" },
{ "source": "/api/vehicles/:id", "destination": "/api/vehicles/:id.json" },
{ "source": "/api/starships", "destination": "/api/starships/all.json" },
{
"source": "/api/starships/:id",
"destination": "/api/starships/:id.json"
},
{
"source": "/api/people/schema",
"destination": "/api/people/schema.json"
},
{
"source": "/api/planets/schema",
"destination": "/api/planets/schema.json"
},
{ "source": "/api/films/schema", "destination": "/api/films/schema.json" },
{
"source": "/api/species/schema",
"destination": "/api/species/schema.json"
},
{
"source": "/api/vehicles/schema",
"destination": "/api/vehicles/schema.json"
},
{
"source": "/api/starships/schema",
"destination": "/api/starships/schema.json"
}
]
}