Skip to content

Fix ghe.com compatibility #458

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 11, 2025
Merged

Conversation

gustavkj
Copy link
Contributor

Fixes: #457

Fixes the extension compatibility with Github Enterprise Cloud instances on <company>.ghe.com.

There are two issues I found that needed to be fixed. One was the generation of the API URI, which incorrectly prepended api. to the protocol rather than the hostname. Second, when comparing the push URL of a remote with the host of the GHE API host it wouldn't match since the remote does not use the API subdomain.

@gustavkj gustavkj marked this pull request as ready for review March 21, 2025 10:34
@gustavkj gustavkj requested a review from a team as a code owner March 21, 2025 10:34
Copy link
Collaborator

@elbrenn elbrenn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gustavkj I tested and verified your change with ghe, thank you for this fix!

I'll leave this for a couple days for your thoughts on these comments and then open up a PR referencing this one if I don't hear back

@elbrenn elbrenn merged commit 6a24cee into github:main Apr 11, 2025
1 check passed
@elbrenn
Copy link
Collaborator

elbrenn commented Apr 11, 2025

Will get this released next week alongside a few other changes 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not working with <company>.ghe.com
3 participants