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

@@ -23,6 +23,7 @@ export default function getAllPaths({
outBase,
}: getAllPathsOps) {
// generate links for remote git server
const homeUrl = baseUrl
if (baseUrl != '' && remoteBranch != '') {
if (supportUrl == '') {
supportUrl = `${baseUrl}/issues`
@@ -36,6 +37,7 @@ export default function getAllPaths({
out: outBase,
},
url: {
home: homeUrl,
base: baseUrl,
support: supportUrl,
},

View File

@@ -31,7 +31,7 @@ export default function readMeta(name: string) {
injectinto: '',
downloadURL: paths.url,
supportURL: urls.support,
homepageURL: urls.base,
homepageURL: urls.home,
unwrap: false,
}