Commit 0afccfa
committed
fix(api-config): use default API URL when account type is individual
When account type is not specified or set to 'individual', use the default
api.githubcopilot.com URL instead of constructing a subdomain-based URL.
This restores previous behavior where business users could work without
explicitly specifying their account type, as the default URL works for both
individual and business accounts.
Only constructs account-type-specific URLs (api.business.githubcopilot.com,
api.enterprise.githubcopilot.com) when those account types are explicitly
specified.1 parent dd80c8d commit 0afccfa
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments