Skip to content

Use path instead of a URL for accessing approval settings

Stan Hu requested to merge sh-fix-use-path-for-approval-endpoitns into master

Hosts using a non-standard configuration may have a different hostname/port/scheme than what may be configured on the GitLab server. While expose_url should generate a proper URL, there are cases where it may not work. Since we don't need the full URL, we can use the relative path.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/61558

Merge request reports