mirror of
https://github.com/kovetskiy/mark.git
synced 2026-04-23 07:02:35 +00:00
Revert "Make references to pages within the same Confluence relative"
This reverts commit ecd563e095.
This commit is contained in:
@@ -203,9 +203,9 @@ func getConfluenceLink(
|
||||
}
|
||||
|
||||
if page != nil {
|
||||
// Confluence supports relative links to reference other pages:
|
||||
// https://confluence.atlassian.com/doc/links-776656293.html
|
||||
link = page.Links.Full
|
||||
// Needs baseURL, as REST api response URL doesn't contain subpath ir
|
||||
// confluence is server from that
|
||||
link = api.BaseURL + page.Links.Full
|
||||
}
|
||||
|
||||
return link, nil
|
||||
|
||||
Reference in New Issue
Block a user