Fix confusing comment + bad redirect (#12962)

- Fixes bug from https://github.com/fleetdm/fleet/pull/12934
- tweak one other FUTURE comment that was backwards and confusing
This commit is contained in:
Mike McNeil 2023-07-25 18:22:11 -05:00 committed by GitHub
parent d2d0dbb586
commit d877530f68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -379,9 +379,9 @@ module.exports.routes = {
'GET /handbook/security': '/handbook/business-operations/security',
'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 /handbook/company/development-groups': '/handbook/company/product-groups',
'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.
'GET /platform': '/',
'GET /handbook/company/senior-software-backend-engineer': 'https://www.linkedin.com/posts/mikermcneil_in-addition-to-our-product-quality-specialist-activity-7067711903166279680-6CMH',
'GET /handbook/business-operations/ceo-handbook': '/handbook/company/ceo-handbook',
'GET /docs/using-fleet/orbit': '/docs/using-fleet/fleetd',