[Fix] UI: useReceiveRoutes: add '/run/shutdown' endpoint.
This commit is contained in:
@@ -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 = () => {
|
||||
|
||||
Reference in New Issue
Block a user