mirror of
https://github.com/kovetskiy/mark.git
synced 2026-05-02 05:12: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 {
|
if page != nil {
|
||||||
// Confluence supports relative links to reference other pages:
|
// Needs baseURL, as REST api response URL doesn't contain subpath ir
|
||||||
// https://confluence.atlassian.com/doc/links-776656293.html
|
// confluence is server from that
|
||||||
link = page.Links.Full
|
link = api.BaseURL + page.Links.Full
|
||||||
}
|
}
|
||||||
|
|
||||||
return link, nil
|
return link, nil
|
||||||
|
|||||||
Reference in New Issue
Block a user