From 8ac3211a864946bb6e1a92c868b6ea98e9fd7584 Mon Sep 17 00:00:00 2001 From: tarzak Date: Thu, 23 May 2019 18:11:55 +0300 Subject: [PATCH] fix(user-menu) prefix (#244) --- client/modules/user-menu/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)