Skip to content

Support site names other than github.com (i.e. for GitHub Enterprise) #18

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

Open
synthead opened this issue Aug 10, 2023 · 0 comments · May be fixed by #19
Open

Support site names other than github.com (i.e. for GitHub Enterprise) #18

synthead opened this issue Aug 10, 2023 · 0 comments · May be fixed by #19

Comments

@synthead
Copy link

synthead commented Aug 10, 2023

This plugin works great for all github.com repos, but it does not work with GitHub hosted on other site names, like company-hosted GitHub Enterprise instances.

For example, with GitHub hosted at github.mycompany.com, with an org name of example-org and a repo name of example-repo, :ToGithub produces this URL:

https://github.com///blob/caf758b2dbe03480dd340dd339379ca86797e6b6/README.md#L11-L27

...when this URL is expected:

https://github.mycompany.com/example-org/example-repo/blob/caf758b2dbe03480dd340dd339379ca86797e6b6/README.md#L11-L27

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