refactor: 从用户配置中读取域名由getDevstarDomain函数负责

This commit is contained in:
Levi Yan
2025-03-03 13:15:34 +08:00
parent 04e34d5129
commit ef3629c5c4
2 changed files with 6 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ export default class DSHome {
this.user = new User(context);
this.remoteContainer = new RemoteContainer(this.user);
this.devstarDomain = vscode.workspace.getConfiguration('devstar').get('devstarDomain')
this.devstarDomain = utils.getDevstarDomain()
if (undefined == this.devstarDomain || "" == this.devstarDomain) {
this.devstarHomePageUrl = "https://devstar.cn/devstar-home"
} else {