Fix GitHub Enterprise API URL for raw source code links #598
Labels
enhancement
New feature or request
external
Relating to an external partner, team, or library
host:github
Specific to the GitHub host provider
When storing credentials for raw URLs of GitHub Enterprise instances (as Visual Studio does when Fall back to Git Credential Manager authentication for all Source Link requests is enabled), the GitHub Enterprise API hostname does not necessarily match the raw URL hostname. For example, a raw URL of
https://raw.my.ghe.dev/...
should access the API athttps://my.ghe.dev/api/v3
. For our purposes, removingraw.
from the hostname would fix the issue, but perhaps some sort of configuration is necessary in the general case.The text was updated successfully, but these errors were encountered: