mirror of
https://github.com/kovetskiy/mark.git
synced 2025-04-24 05:42:40 +08:00
Revert "Make references to pages within the same Confluence relative"
This reverts commit ecd563e0957c23573bc8b37ba398396b8144c0d0.
This commit is contained in:
parent
313247f41a
commit
9e2f0143e9
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user