👍️[Update] UI: backendのendpointに合わせて修正

This commit is contained in:
misyaguziya
2024-09-20 05:14:51 +09:00
parent d3b66b7000
commit ca6514b090
24 changed files with 700 additions and 705 deletions

View File

@@ -7,12 +7,12 @@ export const useUiLanguage = () => {
const getUiLanguage = () => {
updateUiLanguage(() => new Promise(() => {}));
asyncStdoutToPython("/config/ui_language");
asyncStdoutToPython("/get/ui_language");
};
const setUiLanguage = (selected_ui_language) => {
updateUiLanguage(() => new Promise(() => {}));
asyncStdoutToPython("/controller/callback_set_ui_language", selected_ui_language);
asyncStdoutToPython("/set/ui_language", selected_ui_language);
};
return {