refactor: 从用户配置中读取域名由getDevstarDomain函数负责
This commit is contained in:
@@ -101,4 +101,9 @@ export async function getVsCodeCommitId(): Promise<string> {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
export function getDevstarDomain(): string | undefined {
|
||||
// 从用户配置中读取
|
||||
return vscode.workspace.getConfiguration('devstar').get('devstarDomain')
|
||||
}
|
Reference in New Issue
Block a user