Skip to content

Commit 185a258

Browse files
committed
Fix vercel.json
1 parent 24510b1 commit 185a258

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

vercel.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -181,18 +181,18 @@
181181
"rewrites": [
182182
{
183183
"source": "/blockchain-development-tutorials/:path*",
184-
"destination": "/md/blockchain-development-tutorials/:path*",
184+
"destination": "/md/blockchain-development-tutorials/:path*.md",
185185
"has": [
186186
{
187187
"type": "header",
188188
"key": "accept",
189-
"value": "text/markdown"
189+
"value": ".*text/(markdown|plain).*"
190190
}
191191
]
192192
},
193193
{
194194
"source": "/blockchain-development-tutorials/:path*",
195-
"destination": "/md/blockchain-development-tutorials/:path*",
195+
"destination": "/md/blockchain-development-tutorials/:path*.md",
196196
"has": [
197197
{
198198
"type": "query",
@@ -203,18 +203,18 @@
203203
},
204204
{
205205
"source": "/build/:path*",
206-
"destination": "/md/build/:path*",
206+
"destination": "/md/build/:path*.md",
207207
"has": [
208208
{
209209
"type": "header",
210210
"key": "accept",
211-
"value": "text/markdown"
211+
"value": ".*text/(markdown|plain).*"
212212
}
213213
]
214214
},
215215
{
216216
"source": "/build/:path*",
217-
"destination": "/md/build/:path*",
217+
"destination": "/md/build/:path*.md",
218218
"has": [
219219
{
220220
"type": "query",
@@ -225,18 +225,18 @@
225225
},
226226
{
227227
"source": "/protocol/:path*",
228-
"destination": "/md/protocol/:path*",
228+
"destination": "/md/protocol/:path*.md",
229229
"has": [
230230
{
231231
"type": "header",
232232
"key": "accept",
233-
"value": "text/markdown"
233+
"value": ".*text/(markdown|plain).*"
234234
}
235235
]
236236
},
237237
{
238238
"source": "/protocol/:path*",
239-
"destination": "/md/protocol/:path*",
239+
"destination": "/md/protocol/:path*.md",
240240
"has": [
241241
{
242242
"type": "query",
@@ -247,18 +247,18 @@
247247
},
248248
{
249249
"source": "/ecosystem/:path*",
250-
"destination": "/md/ecosystem/:path*",
250+
"destination": "/md/ecosystem/:path*.md",
251251
"has": [
252252
{
253253
"type": "header",
254254
"key": "accept",
255-
"value": "text/markdown"
255+
"value": ".*text/(markdown|plain).*"
256256
}
257257
]
258258
},
259259
{
260260
"source": "/ecosystem/:path*",
261-
"destination": "/md/ecosystem/:path*",
261+
"destination": "/md/ecosystem/:path*.md",
262262
"has": [
263263
{
264264
"type": "query",
@@ -273,7 +273,7 @@
273273
},
274274
{
275275
"source": "/blockchain-development-tutorials/:path*",
276-
"destination": "/md/blockchain-development-tutorials/:path*",
276+
"destination": "/md/blockchain-development-tutorials/:path*.md",
277277
"has": [
278278
{
279279
"type": "header",
@@ -284,7 +284,7 @@
284284
},
285285
{
286286
"source": "/build/:path*",
287-
"destination": "/md/build/:path*",
287+
"destination": "/md/build/:path*.md",
288288
"has": [
289289
{
290290
"type": "header",
@@ -295,7 +295,7 @@
295295
},
296296
{
297297
"source": "/protocol/:path*",
298-
"destination": "/md/protocol/:path*",
298+
"destination": "/md/protocol/:path*.md",
299299
"has": [
300300
{
301301
"type": "header",
@@ -306,7 +306,7 @@
306306
},
307307
{
308308
"source": "/ecosystem/:path*",
309-
"destination": "/md/ecosystem/:path*",
309+
"destination": "/md/ecosystem/:path*.md",
310310
"has": [
311311
{
312312
"type": "header",

0 commit comments

Comments
 (0)