mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-04-17 18:18:11 +00:00
parent
84c1f6e0ea
commit
5a3d55db67
1 changed files with 2 additions and 3 deletions
|
@ -207,9 +207,8 @@ async function fetchConfluencePage({
|
|||
*/
|
||||
function generateAPIBaseUrl(matchResult = {}, isCustomDomain = false) {
|
||||
const { subdomain } = matchResult;
|
||||
let subpath = isCustomDomain ? `` : `/wiki`;
|
||||
if (isCustomDomain) return `https://${customDomain}${subpath}`;
|
||||
return `https://${subdomain}.atlassian.net${subpath}`;
|
||||
if (isCustomDomain) return `https://${subdomain}`;
|
||||
return `https://${subdomain}.atlassian.net/wiki`;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue