From c6d5b6c6a8d2594fc13ff086a79a90069a8bcb9d Mon Sep 17 00:00:00 2001 From: Sakamoto Shiina <68018796+ShiinaSakamoto@users.noreply.github.com> Date: Sat, 10 Jan 2026 00:24:30 +0900 Subject: [PATCH] [Fix] UI: useReceiveRoutes: add '/run/shutdown' endpoint. --- src-ui/logics/useReceiveRoutes.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src-ui/logics/useReceiveRoutes.js b/src-ui/logics/useReceiveRoutes.js index c849f541..772f6859 100644 --- a/src-ui/logics/useReceiveRoutes.js +++ b/src-ui/logics/useReceiveRoutes.js @@ -107,8 +107,9 @@ export const STATIC_ROUTE_META_LIST = [ { endpoint: "/get/data/plugins_status", ns: configs, hook_name: "usePlugins", method_name: "updateSavedPluginsStatus" }, { endpoint: "/set/data/plugins_status", ns: configs, hook_name: "usePlugins", method_name: "setSuccessSavedPluginsStatus" }, - // // Not Implemented Yet... + // // Not Implemented. { endpoint: "/get/data/selectable_transcription_engines", ns: null, hook_name: null, method_name: null }, // Not implemented on UI yet. (if ai_models has not been detected, this will be blank array[]. if the ai_models are ok but just network has not connected, it'l be only ["Whisper"]) + { endpoint: "/run/shutdown", ns: null, hook_name: null, method_name: null }, // Not implemented on UI. ]; export const useReceiveRoutes = () => {