Fix loading @gitlab/web-ide with relative_url_root
What does this MR do and why?
This MR fixes an issue where the new GitLab Web IDE wasn't loading when GitLab is hosted with a relative_url_root
.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Add a
relative_url_root: "/gitlab"
to your localgdk.example.yml
. - Run
gdk reconfigure
. - Run
gdk restart
. - Enable
vscode_web_ide
feature flag. - Checkout this MR's branch and visit the Web IDE for any project.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Paul Slaughter