mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-02 08:06:38 +08:00
暂存
This commit is contained in:
parent
c2f563677e
commit
6449c925a7
@ -73,7 +73,13 @@ export default function UserLoginButton() {
|
|||||||
case "AccessDenied":
|
case "AccessDenied":
|
||||||
openNotification("error", {
|
openNotification("error", {
|
||||||
message: "登录失败",
|
message: "登录失败",
|
||||||
description: "无权限,请确认用户名正确并等待审批",
|
description: (
|
||||||
|
<span>
|
||||||
|
无权限,请确认用户名正确并等待审批
|
||||||
|
<br />
|
||||||
|
<span style={{ color: "red" }}>或联系管理员</span>
|
||||||
|
</span>
|
||||||
|
),
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -204,5 +204,7 @@ export function getHeaders(isAzure?: boolean) {
|
|||||||
export function useGetMidjourneySelfProxyUrl(url: string) {
|
export function useGetMidjourneySelfProxyUrl(url: string) {
|
||||||
const accessStore = useAccessStore.getState();
|
const accessStore = useAccessStore.getState();
|
||||||
console.log("useMjImgSelfProxy", accessStore.useMjImgSelfProxy);
|
console.log("useMjImgSelfProxy", accessStore.useMjImgSelfProxy);
|
||||||
return url;
|
|
||||||
|
console.log("---------", url);
|
||||||
|
return url.replace("cdn.discordapp.com", "cdnig.duckagi.com");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user