Redirect old macos-settings route to new custom macos settings page, rather than disk encryption (#11472)

Seems like a more appropriate place for that redirection.
This commit is contained in:
Mo Zhu 2023-05-03 07:39:05 -07:00 committed by GitHub
parent 9515a515de
commit 2fa1b982da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -349,7 +349,7 @@ module.exports.routes = {
'GET /handbook/security/security-policies':'/handbook/business-operations/security-policies#information-security-policy-and-acceptable-use-policy',// « reasoning: https://github.com/fleetdm/fleet/pull/9624
'GET /handbook/handbook': '/handbook/company/handbook',
'GET /handbook/company/product-groups': '/handbook/company/development-groups',
'GET /docs/using-fleet/mdm-macos-settings': '/docs/using-fleet/mdm-disk-encryption',
'GET /docs/using-fleet/mdm-macos-settings': '/docs/using-fleet/mdm-custom-macos-settings',
'GET /platform': (req,res)=> {return res.redirect(302, '/');},// FUTURE: change this to a 301 (permanent) redirect once we are sure what the page that replaces this is.
// ╔╦╗╦╔═╗╔═╗ ╦═╗╔═╗╔╦╗╦╦═╗╔═╗╔═╗╔╦╗╔═╗ ┬ ╔╦╗╔═╗╦ ╦╔╗╔╦ ╔═╗╔═╗╔╦╗╔═╗