Skip to content

Commit 5105a23

Browse files
authored
Correct version slug formatting (#31171)
1 parent 6fba65b commit 5105a23

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

website/redirects.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ module.exports = [
206206
permanent: true,
207207
},
208208
{
209-
source: '/vault/docs/release-notes/:version(1\.(?:4|5|6|7|8|9|10|11|12|13|14|15|17|18)).0',
209+
source: '/vault/docs/release-notes/v:version(1\.(?:4|5|6|7|8|9|10|11|12|13|14|15|17|18)).0',
210210
destination: '/vault/docs/v:version.x/release-notes/:version.0',
211211
permanent: true,
212212
},
@@ -232,7 +232,7 @@ module.exports = [
232232
},
233233
{
234234
source: '/vault/docs/v:version(1\.(?:4|5|6|7|8|9|10|11|12|13|14|15|16|17|18)\.x)/partners',
235-
destination: '/vault/docs/:version/interoperability-matrix',
235+
destination: '/vault/docs/v:version/interoperability-matrix',
236236
permanent: true,
237237
},
238238
{
@@ -317,7 +317,7 @@ module.exports = [
317317
},
318318
{
319319
source: '/vault/docs/v:version(1\.(?:7|8|9|10|11|12|13|14|15|16|17|18|19)\.x)/sysadmin/snapshots/automation-overview',
320-
destination: '/vault/docs/:version/enterprise/automated-integrated-storage-snapshots',
320+
destination: '/vault/docs/v:version/enterprise/automated-integrated-storage-snapshots',
321321
permanent: true,
322322
},
323323
{
@@ -326,7 +326,7 @@ module.exports = [
326326
permanent: true,
327327
},
328328
{
329-
source: '/vault/docs/v:version(1\.*\.x)/v:ver(1\.*\.x)/:slug*',
329+
source: '/vault/docs/:version(v1\.*\.x)/v:ver(1\.*\.x)/:slug*',
330330
destination: '/vault/docs/:version/:slug',
331331
permanent: true,
332332
}

0 commit comments

Comments
 (0)