diff --git a/dist/index.js b/dist/index.js index ede61a0..c16fa3b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -36013,9 +36013,12 @@ function getFetchUrl(settings) { exports.getFetchUrl = getFetchUrl; function getServerUrl() { // todo: remove GITHUB_URL after support for GHES Alpha is no longer needed - return new url_1.URL(process.env['GITHUB_SERVER_URL'] + '/gitea' || - 0 || - 0); + // return new URL( + // process.env['GITHUB_SERVER_URL'] + '/gitea' || + // process.env['GITHUB_URL'] + '/gitea' || + // 'https://github.com' + // ) + return new url_1.URL('https://dev.hargassner.at/gitea'); } exports.getServerUrl = getServerUrl; diff --git a/src/url-helper.ts b/src/url-helper.ts index 02dd8f7..a7c3188 100644 --- a/src/url-helper.ts +++ b/src/url-helper.ts @@ -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') }