Skip to content

Fix GitHub enterprise detection in site admin

Administrator requested to merge admin/ghe-detection into master

Created by: eseliger

Closes https://github.com/sourcegraph/sourcegraph/issues/8265

We don't have a distinction in the API after creation between GitHub.com and GitHub Enterprise, so we have to do this check on the url 🤔

If anyone knows of a better way to detect this, happy to adopt it. This is more a dirty fix

Merge request reports

Loading