Website: Convenience redirect for admin pages (#18606)

This commit is contained in:
Mike McNeil 2024-04-30 17:02:09 -05:00 committed by GitHub
parent 5db04b937c
commit f7bda934c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -439,6 +439,7 @@ module.exports.routes = {
//
// For example, a clever user might try to visit fleetdm.com/documentation, not knowing that Fleet's website
// puts this kind of thing under /docs, NOT /documentation. These "convenience" redirects are to help them out.
'GET /admin': '/admin/email-preview',
'GET /renew': 'https://calendly.com/zayhanlon/fleet-renewal-discussion',
'GET /documentation': '/docs',
'GET /contribute': '/docs/contributing',