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

@@ -101,4 +101,9 @@ export async function getVsCodeCommitId(): Promise<string> {
}
}
}
export function getDevstarDomain(): string | undefined {
// 从用户配置中读取
return vscode.workspace.getConfiguration('devstar').get('devstarDomain')
}