Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes gitkraken#2021 - Use scoped routes for GitLab URLs
GitLens uses legacy project routes for GitLab: - `${projectURL}/branches` - `${projectURL}/tree/${branch}` - `${projectURL}/commit/${sha}` - `${projectURL}/compare/${base}${notation}${compare}` - `${projectURL}/blob/${ref}/${fileName}` These routes are all deprecated and scheduled for removal. See these references: - https://docs.gitlab.com/ee/development/routing.html#project-routes - https://gitlab.com/gitlab-org/gitlab/-/issues/118849 - https://gitlab.com/gitlab-org/gitlab/-/issues/28848 This change replaces them with the following scoped routes: - `${projectURL}/-/branches` - `${projectURL}/-/tree/${branch}` - `${projectURL}/-/commit/${sha}` - `${projectURL}/-/compare/${base}${notation}${compare}` - `${projectURL}/-/blob/${ref}/${fileName}`
- Loading branch information