hjklhgjgfhjghj
This commit is contained in:
9
dist/index.js
vendored
9
dist/index.js
vendored
@@ -36013,9 +36013,12 @@ function getFetchUrl(settings) {
|
|||||||
exports.getFetchUrl = getFetchUrl;
|
exports.getFetchUrl = getFetchUrl;
|
||||||
function getServerUrl() {
|
function getServerUrl() {
|
||||||
// todo: remove GITHUB_URL after support for GHES Alpha is no longer needed
|
// todo: remove GITHUB_URL after support for GHES Alpha is no longer needed
|
||||||
return new url_1.URL(process.env['GITHUB_SERVER_URL'] + '/gitea' ||
|
// return new URL(
|
||||||
0 ||
|
// process.env['GITHUB_SERVER_URL'] + '/gitea' ||
|
||||||
0);
|
// process.env['GITHUB_URL'] + '/gitea' ||
|
||||||
|
// 'https://github.com'
|
||||||
|
// )
|
||||||
|
return new url_1.URL('https://dev.hargassner.at/gitea');
|
||||||
}
|
}
|
||||||
exports.getServerUrl = getServerUrl;
|
exports.getServerUrl = getServerUrl;
|
||||||
|
|
||||||
|
|||||||
@@ -21,9 +21,10 @@ export function getFetchUrl(settings: IGitSourceSettings): string {
|
|||||||
|
|
||||||
export function getServerUrl(): URL {
|
export function getServerUrl(): URL {
|
||||||
// todo: remove GITHUB_URL after support for GHES Alpha is no longer needed
|
// todo: remove GITHUB_URL after support for GHES Alpha is no longer needed
|
||||||
return new URL(
|
// return new URL(
|
||||||
process.env['GITHUB_SERVER_URL'] + '/gitea' ||
|
// process.env['GITHUB_SERVER_URL'] + '/gitea' ||
|
||||||
process.env['GITHUB_URL'] + '/gitea' ||
|
// process.env['GITHUB_URL'] + '/gitea' ||
|
||||||
'https://github.com'
|
// 'https://github.com'
|
||||||
)
|
// )
|
||||||
|
return new URL('https://dev.hargassner.at/gitea')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user