homepage url hotfix

This commit is contained in:
2023-02-09 18:57:56 -06:00
parent 7e67128abe
commit 5de6a97dbd
5 changed files with 7 additions and 3 deletions

View File

@@ -2,6 +2,7 @@
Object.defineProperty(exports, "__esModule", { value: true });
function getAllPaths({ baseUrl, supportUrl, remoteBranch, inBase, outBase, }) {
// generate links for remote git server
const homeUrl = baseUrl;
if (baseUrl != '' && remoteBranch != '') {
if (supportUrl == '') {
supportUrl = `${baseUrl}/issues`;
@@ -14,6 +15,7 @@ function getAllPaths({ baseUrl, supportUrl, remoteBranch, inBase, outBase, }) {
out: outBase,
},
url: {
home: homeUrl,
base: baseUrl,
support: supportUrl,
},