File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export namespace AuthGithubCopilot {
12
12
13
13
const config = await Config . get ( )
14
14
const providerConfig = config . provider ?. [ providerID ]
15
- const configUrl = providerConfig ?. options ?. githubEnterpriseUrl
15
+ const configUrl = providerConfig ?. options ?. enterpriseUrl
16
16
17
17
return configUrl ? normalizeDomain ( configUrl ) : "github.com"
18
18
}
Original file line number Diff line number Diff line change @@ -420,10 +420,7 @@ export namespace Config {
420
420
. object ( {
421
421
apiKey : z . string ( ) . optional ( ) ,
422
422
baseURL : z . string ( ) . optional ( ) ,
423
- githubEnterpriseUrl : z
424
- . string ( )
425
- . optional ( )
426
- . describe ( "GitHub Enterprise URL for copilot authentication" ) ,
423
+ enterpriseUrl : z . string ( ) . optional ( ) . describe ( "GitHub Enterprise URL for copilot authentication" ) ,
427
424
timeout : z
428
425
. union ( [
429
426
z
You can’t perform that action at this time.
0 commit comments