-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvercel.json
More file actions
113 lines (113 loc) · 2.99 KB
/
vercel.json
File metadata and controls
113 lines (113 loc) · 2.99 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"rewrites": [
{
"source": "/api/rss.xml",
"destination": "/api/feed?type=rss"
},
{
"source": "/api/sitemap.xml",
"destination": "/api/feed?type=sitemap"
},
{
"source": "/api/blog-posts/featured",
"destination": "/api/posts?featured=true"
},
{
"source": "/api/blog-posts",
"destination": "/api/posts"
},
{
"source": "/api/blog-post",
"destination": "/api/posts"
},
{
"source": "/api/blog-post-meta",
"destination": "/api/meta"
},
{
"source": "/api/blog-post-ssr",
"destination": "/api/meta"
},
{
"source": "/api/notion-sync/list-pages",
"destination": "/api/notion-sync/pages"
},
{
"source": "/api/notion-sync/test",
"destination": "/api/notion-sync/pages?test=true"
},
{
"source": "/api/blog-posts/:postId/inline-comments/:annotationId/like",
"destination": "/api/admin/inline-comments?postId=:postId&annotationId=:annotationId&action=like"
},
{
"source": "/api/blog-posts/:postId/inline-comments",
"destination": "/api/admin/inline-comments?postId=:postId"
},
{
"source": "/api/blog-posts/:id/related",
"destination": "/api/posts?relatedTo=:id"
},
{
"source": "/api/admin/blog-posts/:id",
"destination": "/api/admin/blog-posts?id=:id"
},
{
"source": "/api/admin/upload-image/:publicId",
"destination": "/api/admin/upload-image?publicId=:publicId"
},
{
"source": "/",
"has": [ { "type": "query", "key": "bypass", "value": "true" } ],
"destination": "/index.html"
},
{
"source": "/",
"destination": "/api/meta?type=home"
},
{
"source": "/posts",
"has": [ { "type": "query", "key": "bypass", "value": "true" } ],
"destination": "/index.html"
},
{
"source": "/posts",
"destination": "/api/meta?type=posts"
},
{
"source": "/portfolio",
"has": [ { "type": "query", "key": "bypass", "value": "true" } ],
"destination": "/index.html"
},
{
"source": "/portfolio",
"destination": "/api/meta?type=portfolio"
},
{
"source": "/portfolio/:slug",
"has": [ { "type": "query", "key": "bypass", "value": "true" } ],
"destination": "/index.html"
},
{
"source": "/portfolio/:slug",
"destination": "/api/meta?type=portfolio&slug=:slug"
},
{
"source": "/blog/:slug",
"has": [ { "type": "query", "key": "bypass", "value": "true" } ],
"destination": "/index.html"
},
{
"source": "/blog/:slug",
"destination": "/api/meta?type=blog&slug=:slug"
},
{
"source": "/auth/callback",
"destination": "/index.html"
},
{
"source": "/((?!api|auth|sitemap.*\\.xml|rss\\.xml|robots\\.txt).*)",
"destination": "/index.html"
}
]
}