diff --git a/client/modules/user-menu/index.js b/client/modules/user-menu/index.js index 6b618a95..d76733b5 100644 --- a/client/modules/user-menu/index.js +++ b/client/modules/user-menu/index.js @@ -42,7 +42,7 @@ async function show() { Images.show.load('top'); const {dirPath} = CurrentInfo; - const res = await fetch(`/api/v1/user-menu?dir=${dirPath}`); + const res = await fetch(`${CloudCmd.prefix}/api/v1/user-menu?dir=${dirPath}`); const [error, userMenu] = tryCatch(getUserMenu, await res.text()); if (error)