From bc43f81a112edc3203de0a43c661f5568e3d4e2f Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Fri, 23 Sep 2022 18:05:35 +0530 Subject: [PATCH] UI: Use /api/agent-signals/terminate-all instead of /api/monkey-control/stop-all-agents --- monkey/monkey_island/cc/ui/src/components/pages/MapPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/ui/src/components/pages/MapPage.js b/monkey/monkey_island/cc/ui/src/components/pages/MapPage.js index 13db80e25..11a67456f 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/MapPage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/MapPage.js @@ -84,7 +84,7 @@ class MapPageComponent extends AuthComponent { } killAllMonkeys = () => { - this.authFetch('/api/monkey-control/stop-all-agents', + this.authFetch('/api/agent-signals/terminate-all', { method: 'POST', headers: {'Content-Type': 'application/json'},