mirror of
https://github.com/kovetskiy/mark.git
synced 2025-04-23 21:32:41 +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 {
|
||||
// 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user