mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 16:39:01 +00:00
Website: Update routes (#36612)
Changes: - Added a redirect for the updated "Install app store apps" guide. - Removed `csrf: false` from three Android proxy endpoints. (CSRF does not apply to GET routes)
This commit is contained in:
parent
b9439b773a
commit
a7cbc405fa
1 changed files with 4 additions and 3 deletions
7
website/config/routes.js
vendored
7
website/config/routes.js
vendored
|
|
@ -861,6 +861,7 @@ module.exports.routes = {
|
|||
'GET /announcements/not-everything-runs-in-kubernete': '/articles/not-everything-runs-in-kubernete',
|
||||
'GET /guides/macos-mdm-setup': '/guides/apple-mdm-setup',
|
||||
'GET /guides/macos-setup-experience': '/guides/setup-experience',
|
||||
'GET /guides/install-vpp-apps-on-macos-using-fleet': '/guides/install-app-store-apps',
|
||||
|
||||
// ╔╦╗╦╔═╗╔═╗ ╦═╗╔═╗╔╦╗╦╦═╗╔═╗╔═╗╔╦╗╔═╗ ┬ ╔╦╗╔═╗╦ ╦╔╗╔╦ ╔═╗╔═╗╔╦╗╔═╗
|
||||
// ║║║║╚═╗║ ╠╦╝║╣ ║║║╠╦╝║╣ ║ ║ ╚═╗ ┌┼─ ║║║ ║║║║║║║║ ║ ║╠═╣ ║║╚═╗
|
||||
|
|
@ -1075,11 +1076,11 @@ module.exports.routes = {
|
|||
'POST /api/android/v1/enterprises/:androidEnterpriseId/enrollmentTokens': { action: 'android-proxy/create-android-enrollment-token', csrf: false},
|
||||
'PATCH /api/android/v1/enterprises/:androidEnterpriseId/policies/:policyId': { action: 'android-proxy/modify-android-policies', csrf: false},
|
||||
'DELETE /api/android/v1/enterprises/:androidEnterpriseId': { action: 'android-proxy/delete-one-android-enterprise', csrf: false},
|
||||
'GET /api/android/v1/enterprises/:androidEnterpriseId/devices/:deviceId': { action: 'android-proxy/get-android-device', csrf: false },
|
||||
'GET /api/android/v1/enterprises/:androidEnterpriseId/devices': { action: 'android-proxy/get-android-devices', csrf: false },
|
||||
'GET /api/android/v1/enterprises/:androidEnterpriseId/devices/:deviceId': { action: 'android-proxy/get-android-device' },
|
||||
'GET /api/android/v1/enterprises/:androidEnterpriseId/devices': { action: 'android-proxy/get-android-devices' },
|
||||
'DELETE /api/android/v1/enterprises/:androidEnterpriseId/devices/:deviceId': { action: 'android-proxy/delete-android-device', csrf: false},
|
||||
'PATCH /api/android/v1/enterprises/:androidEnterpriseId/devices/:deviceId': { action: 'android-proxy/modify-android-device', csrf: false},
|
||||
'GET /api/android/v1/enterprises/:androidEnterpriseId/applications/:applicationId': { action: 'android-proxy/get-enterprise-applications', csrf: false, skipAssets: false},
|
||||
'GET /api/android/v1/enterprises/:androidEnterpriseId/applications/:applicationId': { action: 'android-proxy/get-enterprise-applications', skipAssets: false},
|
||||
'POST /api/android/v1/enterprises/:androidEnterpriseId/policies/:policyId': { action: 'android-proxy/modify-enterprise-app-policy', csrf: false, skipAssets: false},
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue