|
181 | 181 | "rewrites": [ |
182 | 182 | { |
183 | 183 | "source": "/blockchain-development-tutorials/:path*", |
184 | | - "destination": "/md/blockchain-development-tutorials/:path*", |
| 184 | + "destination": "/md/blockchain-development-tutorials/:path*.md", |
185 | 185 | "has": [ |
186 | 186 | { |
187 | 187 | "type": "header", |
188 | 188 | "key": "accept", |
189 | | - "value": "text/markdown" |
| 189 | + "value": ".*text/(markdown|plain).*" |
190 | 190 | } |
191 | 191 | ] |
192 | 192 | }, |
193 | 193 | { |
194 | 194 | "source": "/blockchain-development-tutorials/:path*", |
195 | | - "destination": "/md/blockchain-development-tutorials/:path*", |
| 195 | + "destination": "/md/blockchain-development-tutorials/:path*.md", |
196 | 196 | "has": [ |
197 | 197 | { |
198 | 198 | "type": "query", |
|
203 | 203 | }, |
204 | 204 | { |
205 | 205 | "source": "/build/:path*", |
206 | | - "destination": "/md/build/:path*", |
| 206 | + "destination": "/md/build/:path*.md", |
207 | 207 | "has": [ |
208 | 208 | { |
209 | 209 | "type": "header", |
210 | 210 | "key": "accept", |
211 | | - "value": "text/markdown" |
| 211 | + "value": ".*text/(markdown|plain).*" |
212 | 212 | } |
213 | 213 | ] |
214 | 214 | }, |
215 | 215 | { |
216 | 216 | "source": "/build/:path*", |
217 | | - "destination": "/md/build/:path*", |
| 217 | + "destination": "/md/build/:path*.md", |
218 | 218 | "has": [ |
219 | 219 | { |
220 | 220 | "type": "query", |
|
225 | 225 | }, |
226 | 226 | { |
227 | 227 | "source": "/protocol/:path*", |
228 | | - "destination": "/md/protocol/:path*", |
| 228 | + "destination": "/md/protocol/:path*.md", |
229 | 229 | "has": [ |
230 | 230 | { |
231 | 231 | "type": "header", |
232 | 232 | "key": "accept", |
233 | | - "value": "text/markdown" |
| 233 | + "value": ".*text/(markdown|plain).*" |
234 | 234 | } |
235 | 235 | ] |
236 | 236 | }, |
237 | 237 | { |
238 | 238 | "source": "/protocol/:path*", |
239 | | - "destination": "/md/protocol/:path*", |
| 239 | + "destination": "/md/protocol/:path*.md", |
240 | 240 | "has": [ |
241 | 241 | { |
242 | 242 | "type": "query", |
|
247 | 247 | }, |
248 | 248 | { |
249 | 249 | "source": "/ecosystem/:path*", |
250 | | - "destination": "/md/ecosystem/:path*", |
| 250 | + "destination": "/md/ecosystem/:path*.md", |
251 | 251 | "has": [ |
252 | 252 | { |
253 | 253 | "type": "header", |
254 | 254 | "key": "accept", |
255 | | - "value": "text/markdown" |
| 255 | + "value": ".*text/(markdown|plain).*" |
256 | 256 | } |
257 | 257 | ] |
258 | 258 | }, |
259 | 259 | { |
260 | 260 | "source": "/ecosystem/:path*", |
261 | | - "destination": "/md/ecosystem/:path*", |
| 261 | + "destination": "/md/ecosystem/:path*.md", |
262 | 262 | "has": [ |
263 | 263 | { |
264 | 264 | "type": "query", |
|
273 | 273 | }, |
274 | 274 | { |
275 | 275 | "source": "/blockchain-development-tutorials/:path*", |
276 | | - "destination": "/md/blockchain-development-tutorials/:path*", |
| 276 | + "destination": "/md/blockchain-development-tutorials/:path*.md", |
277 | 277 | "has": [ |
278 | 278 | { |
279 | 279 | "type": "header", |
|
284 | 284 | }, |
285 | 285 | { |
286 | 286 | "source": "/build/:path*", |
287 | | - "destination": "/md/build/:path*", |
| 287 | + "destination": "/md/build/:path*.md", |
288 | 288 | "has": [ |
289 | 289 | { |
290 | 290 | "type": "header", |
|
295 | 295 | }, |
296 | 296 | { |
297 | 297 | "source": "/protocol/:path*", |
298 | | - "destination": "/md/protocol/:path*", |
| 298 | + "destination": "/md/protocol/:path*.md", |
299 | 299 | "has": [ |
300 | 300 | { |
301 | 301 | "type": "header", |
|
306 | 306 | }, |
307 | 307 | { |
308 | 308 | "source": "/ecosystem/:path*", |
309 | | - "destination": "/md/ecosystem/:path*", |
| 309 | + "destination": "/md/ecosystem/:path*.md", |
310 | 310 | "has": [ |
311 | 311 | { |
312 | 312 | "type": "header", |
|
0 commit comments