-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
vercel.json
212 lines (212 loc) Β· 6.27 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
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"version": 2,
"regions": ["hkg1"],
"framework": "hugo",
"installCommand": "npm install && dnf install -y golang.x86_64",
"buildCommand": "npm run build -- $BUILD_DRAFTS",
"outputDirectory": "public",
"alias": ["fixit.lruihao.cn", "pre.fixit.lruihao.cn", "hugofixit"],
"headers": [
{
"source": "/service-worker.min.js",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=0, must-revalidate"
}
]
},
{
"source": "(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public, s-maxage=86400, max-age=86400"
},
{
"key": "Vercel-CDN-Cache-Control",
"value": "max-age=3600"
}
]
}
],
"rewrites": [
{
"source": "/zh-cn/(.*)",
"destination": "/zh-cn/404.html"
}
],
"redirects": [
{
"source": "/theme-documentation-basics/",
"destination": "/documentation/getting-started/configuration/",
"statusCode": 301
},
{
"source": "/zh-cn/theme-documentation-basics/",
"destination": "/zh-cn/documentation/getting-started/configuration/",
"statusCode": 301
},
{
"source": "/documentation/basics/",
"destination": "/documentation/getting-started/configuration/",
"statusCode": 301
},
{
"source": "/zh-cn/documentation/basics/",
"destination": "/zh-cn/documentation/getting-started/configuration/",
"statusCode": 301
},
{
"source": "/theme-documentation-content/",
"destination": "/documentation/content-management/introduction/",
"statusCode": 301
},
{
"source": "/zh-cn/theme-documentation-content/",
"destination": "/zh-cn/documentation/content-management/introduction/",
"statusCode": 301
},
{
"source": "/theme-documentation-content-encryption/",
"destination": "/documentation/content-management/encryption/",
"statusCode": 301
},
{
"source": "/zh-cn/theme-documentation-content-encryption/",
"destination": "/zh-cn/documentation/content-management/encryption/",
"statusCode": 301
},
{
"source": "/theme-documentation-built-in-shortcodes/",
"destination": "/documentation/content-management/shortcodes/built-in/",
"statusCode": 301
},
{
"source": "/zh-cn/theme-documentation-built-in-shortcodes/",
"destination": "/zh-cn/documentation/content-management/shortcodes/built-in/",
"statusCode": 301
},
{
"source": "/theme-documentation-extended-shortcodes/",
"destination": "/documentation/content-management/shortcodes/extended/introduction/",
"statusCode": 301
},
{
"source": "/zh-cn/theme-documentation-extended-shortcodes/",
"destination": "/zh-cn/documentation/content-management/shortcodes/extended/introduction/",
"statusCode": 301
},
{
"source": "/extended-shortcode-bilibili/",
"destination": "/documentation/content-management/shortcodes/extended/bilibili/",
"statusCode": 301
},
{
"source": "/zh-cn/extended-shortcode-bilibili/",
"destination": "/zh-cn/documentation/content-management/shortcodes/extended/bilibili/",
"statusCode": 301
},
{
"source": "/extended-shortcode-echarts/",
"destination": "/documentation/content-management/shortcodes/extended/echarts/",
"statusCode": 301
},
{
"source": "/zh-cn/extended-shortcode-echarts/",
"destination": "/zh-cn/documentation/content-management/shortcodes/extended/echarts/",
"statusCode": 301
},
{
"source": "/extended-shortcode-mapbox/",
"destination": "/documentation/content-management/shortcodes/extended/mapbox/",
"statusCode": 301
},
{
"source": "/zh-cn/extended-shortcode-mapbox/",
"destination": "/zh-cn/documentation/content-management/shortcodes/extended/mapbox/",
"statusCode": 301
},
{
"source": "/extended-shortcode-mermaid/",
"destination": "/documentation/content-management/shortcodes/extended/mermaid/",
"statusCode": 301
},
{
"source": "/zh-cn/extended-shortcode-mermaid/",
"destination": "/zh-cn/documentation/content-management/shortcodes/extended/mermaid/",
"statusCode": 301
},
{
"source": "/extended-shortcode-music/",
"destination": "/documentation/content-management/shortcodes/extended/music/",
"statusCode": 301
},
{
"source": "/zh-cn/extended-shortcode-music/",
"destination": "/zh-cn/documentation/content-management/shortcodes/extended/music/",
"statusCode": 301
},
{
"source": "/extended-shortcode-typeit/",
"destination": "/documentation/content-management/shortcodes/extended/typeit/",
"statusCode": 301
},
{
"source": "/zh-cn/extended-shortcode-typeit/",
"destination": "/zh-cn/documentation/content-management/shortcodes/extended/typeit/",
"statusCode": 301
},
{
"source": "/basic-markdown-syntax/",
"destination": "/documentation/content-management/markdown-syntax/basics/",
"statusCode": 301
},
{
"source": "/zh-cn/basic-markdown-syntax/",
"destination": "/zh-cn/documentation/content-management/markdown-syntax/basics/",
"statusCode": 301
},
{
"source": "/emoji-support/",
"destination": "/guides/emoji-support/",
"statusCode": 301
},
{
"source": "/zh-cn/emoji-support/",
"destination": "/zh-cn/guides/emoji-support/",
"statusCode": 301
},
{
"source": "/pwa-support/",
"destination": "/guides/pwa-support/",
"statusCode": 301
},
{
"source": "/zh-cn/pwa-support/",
"destination": "/zh-cn/guides/pwa-support/",
"statusCode": 301
},
{
"source": "/friends/",
"destination": "/showcase/",
"statusCode": 301
},
{
"source": "/zh-cn/friends/",
"destination": "/zh-cn/showcase/",
"statusCode": 301
},
{
"source": "/components/:path",
"destination": "/ecosystem/:path",
"statusCode": 301
},
{
"source": "/zh-cn/components/:path",
"destination": "/zh-cn/ecosystem/:path",
"statusCode": 301
}
]
}