mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 16:39:01 +00:00
Change webhook route + expose without relying on session
This commit is contained in:
parent
587f6166a8
commit
41cfaa1e76
1 changed files with 1 additions and 2 deletions
3
website/config/routes.js
vendored
3
website/config/routes.js
vendored
|
|
@ -58,7 +58,7 @@ module.exports.routes = {
|
|||
// ╦ ╦╔═╗╔╗ ╦ ╦╔═╗╔═╗╦╔═╔═╗
|
||||
// ║║║║╣ ╠╩╗╠═╣║ ║║ ║╠╩╗╚═╗
|
||||
// ╚╩╝╚═╝╚═╝╩ ╩╚═╝╚═╝╩ ╩╚═╝
|
||||
// …
|
||||
'POST /api/v1/webhooks/receive-usage-analytics': { action: 'receive-usage-analytics', csrf: false },
|
||||
|
||||
|
||||
// ╔═╗╔═╗╦ ╔═╗╔╗╔╔╦╗╔═╗╔═╗╦╔╗╔╔╦╗╔═╗
|
||||
|
|
@ -67,6 +67,5 @@ module.exports.routes = {
|
|||
// Note that, in this app, these API endpoints may be accessed using the `Cloud.*()` methods
|
||||
// from the Parasails library, or by using those method names as the `action` in <ajax-form>.
|
||||
'POST /api/v1/deliver-contact-form-message': { action: 'deliver-contact-form-message' },
|
||||
'POST /api/v1/receive-usage-analytics': { action: 'receive-usage-analytics' },
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue