Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/src/url-helper.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/url-helper.ts')
-rw-r--r--src/url-helper.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/url-helper.ts b/src/url-helper.ts
index 3e0e142..31848c7 100644
--- a/src/url-helper.ts
+++ b/src/url-helper.ts
@@ -2,10 +2,6 @@ import * as assert from 'assert'
import {IGitSourceSettings} from './git-source-settings'
import {URL} from 'url'
-export function getApiUrl(): string {
- return process.env['GITHUB_API_URL'] || 'https://api.github.com'
-}
-
export function getFetchUrl(settings: IGitSourceSettings): string {
assert.ok(
settings.repositoryOwner,