Commit f96a91e
committed
fix: use api. subdomain for enterprise GitHub Copilot token URL
The enterprise copilot token URL was incorrectly using a path prefix
(/api/copilot_internal/v2/token) which returns a 404. The correct
pattern, consistent with how api.github.com works for github.com,
is to use the api. subdomain:
https://api.<host>/copilot_internal/v2/token
Also restores correct use of the computed copilot_token_url variable
so that the GITHUB_COPILOT_TOKEN_URL override still works.
Fixes #77161 parent 3f52775 commit f96a91e
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
777 | 777 | | |
778 | 778 | | |
779 | 779 | | |
780 | | - | |
| 780 | + | |
781 | 781 | | |
782 | 782 | | |
783 | 783 | | |
| |||
0 commit comments