Website: Add convenience redirect for typos: Update routes.js (#48831)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* Added a new redirect so visits to `/gitops-workshops` now go to
`/workshops`.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Mike McNeil
2026-07-08 10:01:23 -05:00
committed by GitHub
parent 2a1f513565
commit 9587374d20
+1
View File
@@ -1148,6 +1148,7 @@ module.exports.routes = {
'GET /imagine/open-source': (req, res) => { let originalQueryString = req.url.match(/\?(.+)$/) ? '?' + req.url.match(/\?(.+)$/)[1] : ''; return res.redirect(301, sails.config.custom.baseUrl + '/lp/open-source' + originalQueryString); },
'GET /orchestration': '/visibility-and-reporting',
'GET /gitops-workshop': '/workshops',
'GET /gitops-workshops': '/workshops',
// ╔╦╗╦╔═╗╔═╗ ╦═╗╔═╗╔╦╗╦╦═╗╔═╗╔═╗╔╦╗╔═╗ ┬ ╔╦╗╔═╗╦ ╦╔╗╔╦ ╔═╗╔═╗╔╦╗╔═╗
// ║║║║╚═╗║ ╠╦╝║╣ ║║║╠╦╝║╣ ║ ║ ╚═╗ ┌┼─ ║║║ ║║║║║║║║ ║ ║╠═╣ ║║╚═╗
// ╩ ╩╩╚═╝╚═╝ ╩╚═╚═╝═╩╝╩╩╚═╚═╝╚═╝ ╩ ╚═╝ └┘ ═╩╝╚═╝╚╩╝╝╚╝╩═╝╚═╝╩ ╩═╩╝╚═╝