fix: add missing /wiki to Confluence cloud citation URLs (#5167)
fix: add /wiki to Confluence cloud page URLs in citations
This commit is contained in:
parent
113df6d013
commit
563f95167d
@ -131,7 +131,7 @@ class ConfluencePagesLoader {
|
|||||||
/\n{3,}/g,
|
/\n{3,}/g,
|
||||||
"\n\n"
|
"\n\n"
|
||||||
);
|
);
|
||||||
const pageUrl = `${this.baseUrl}/spaces/${this.spaceKey}/pages/${page.id}`;
|
const pageUrl = `${this.baseUrl}${this.cloud ? "/wiki" : ""}/spaces/${this.spaceKey}/pages/${page.id}`;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
pageContent: textWithPreservedStructure,
|
pageContent: textWithPreservedStructure,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user