refactor: OSS base URL 与 logo URL 改由 API 下发 (AGENTS.md 合规)
This commit is contained in:
@@ -10,6 +10,7 @@ import {
|
||||
WalletOutlined,
|
||||
} from "@ant-design/icons";
|
||||
import { LocalAvatar } from "./LocalAvatar";
|
||||
import { getLogoUrl } from "../api/publicConfigClient";
|
||||
import type { WebUserSession } from "../types";
|
||||
|
||||
interface TopbarProps {
|
||||
@@ -110,7 +111,7 @@ export function Topbar({
|
||||
onClick={onOpenWorkspace}
|
||||
>
|
||||
<span className="ecommerce-standalone__logo" aria-hidden="true">
|
||||
<img src="https://stringtest.oss-cn-hangzhou.aliyuncs.com/logo.png" alt="" />
|
||||
<img src={getLogoUrl()} alt="" />
|
||||
</span>
|
||||
<strong>OmniAI 电商智能体</strong>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user