Skip to content

Commit e5abd1b

Browse files
committed
feat(auth): 更新默认控制台登录页为正式中国站地址
1 parent 4749b49 commit e5abd1b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/cli/src/commands/auth/login-console.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ const CONSOLE_LOGIN_TIMEOUT_MS = 15 * 60 * 1000;
1717
const MAX_AUTH_CALLBACK_BODY = 65536;
1818

1919
// 总是默认打开 中国站的登录页
20-
const DEFAULT_CONSOLE_ORIGIN = "https://pre-bailian.console.aliyun.com";
20+
const DEFAULT_CONSOLE_ORIGIN = "https://bailian.console.aliyun.com";
2121

2222
export function resolveConsoleOrigin(): string {
23-
return process.env.BAILIAN_CONSOLE_ORIGIN || DEFAULT_CONSOLE_ORIGIN;
23+
return DEFAULT_CONSOLE_ORIGIN;
2424
}
2525

2626
function readBodyBounded(req: http.IncomingMessage): Promise<string> {

0 commit comments

Comments
 (0)