hjklhgjgfhjghj

This commit is contained in:
Michael Schmidt
2023-07-10 15:20:02 +02:00
parent 67a3a54916
commit 016e95b24b
2 changed files with 12 additions and 8 deletions

View File

@@ -21,9 +21,10 @@ export function getFetchUrl(settings: IGitSourceSettings): string {
export function getServerUrl(): URL {
// todo: remove GITHUB_URL after support for GHES Alpha is no longer needed
return new URL(
process.env['GITHUB_SERVER_URL'] + '/gitea' ||
process.env['GITHUB_URL'] + '/gitea' ||
'https://github.com'
)
// return new URL(
// process.env['GITHUB_SERVER_URL'] + '/gitea' ||
// process.env['GITHUB_URL'] + '/gitea' ||
// 'https://github.com'
// )
return new URL('https://dev.hargassner.at/gitea')
}