Repository navigation
Commit 7f8acac
committed
fix(server): repository-only GitLab links resolve through the checkout URL
resolveLink read the merge request with webUrl: null, which marks a raw
API selector. On a checkout under a path prefix, that read the prefixed
path literally instead of resolving the project through glab. Leaving
webUrl unset lets the project's own repository inherit its HTTP checkout
URL, while other repositories already drop it.
AI-assisted; verified with the tests and tools listed above.1 parent 0ca8023 commit 7f8acac
2 files changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
497 | 497 | | |
498 | 498 | | |
499 | 499 | | |
500 | | - | |
501 | | - | |
| 500 | + | |
| 501 | + | |
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
288 | 287 | | |
289 | 288 | | |
290 | 289 | | |
| |||
0 commit comments