mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(user-menu) prefix (#244)
This commit is contained in:
parent
ef38bd7aa3
commit
8ac3211a86
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue