Fix issue with content editor under relative URL
What does this MR do and why?
Fix issue with content editor under relative URL
When GitLab is installed under a relative URL, the content editor failed to load. This MR fixes it.
Changelog: fixed
How to set up and validate locally
- Install GitLab under a relative URL
- Edit a wiki page
- Notice that rich text editor no longer fails to load
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.
Related to #420124 (closed)