mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 23:56:39 +08:00
暂存
This commit is contained in:
parent
c2f563677e
commit
6449c925a7
@ -73,7 +73,13 @@ export default function UserLoginButton() {
|
||||
case "AccessDenied":
|
||||
openNotification("error", {
|
||||
message: "登录失败",
|
||||
description: "无权限,请确认用户名正确并等待审批",
|
||||
description: (
|
||||
<span>
|
||||
无权限,请确认用户名正确并等待审批
|
||||
<br />
|
||||
<span style={{ color: "red" }}>或联系管理员</span>
|
||||
</span>
|
||||
),
|
||||
});
|
||||
break;
|
||||
default:
|
||||
|
@ -204,5 +204,7 @@ export function getHeaders(isAzure?: boolean) {
|
||||
export function useGetMidjourneySelfProxyUrl(url: string) {
|
||||
const accessStore = useAccessStore.getState();
|
||||
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