Skip to content

Commit 3452006

Browse files
committed
fix: plugin avatar
1 parent baff8c5 commit 3452006

File tree

1 file changed

+2
-2
lines changed
  • packages/service/core/app/tool

1 file changed

+2
-2
lines changed

packages/service/core/app/tool/api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ export async function getSystemToolList() {
1616
id: `${PluginSourceEnum.systemTool}-${item.id}`,
1717
parentId: item.parentId ? `${PluginSourceEnum.systemTool}-${item.parentId}` : undefined,
1818
avatar:
19-
item.avatar && item.avatar.startsWith('/imgs/tools')
20-
? `/api/system/pluginImgs/${item.avatar.replace('/imgs/tools', '')}`
19+
item.avatar && item.avatar.startsWith('/imgs/tools/')
20+
? `/api/system/pluginImgs/${item.avatar.replace('/imgs/tools/', '')}`
2121
: item.avatar
2222
};
2323
});

0 commit comments

Comments
 (0)