Skip to content

Use gon.gitlab_url instead of location.hostname

Warren Gifford requested to merge use-gon-gitlab-url into master

Created by: felixfbecker

This is the last blocker for https://gitlab.com/gitlab-org/gitlab/merge_requests/16556.

gon.gitlab_url is the canonical URL that that Sourcegraph would be accessing Gitlab under, not location.hostname.

Refactored globals.d.ts a bit to declare all the globals as actual globals instead of only on Window (they are still on Window with this change).

Merge request reports

Loading