From 3f7daee8f30ee241cdf19cb16589865509c2e424 Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 19 Nov 2024 21:56:53 -0800 Subject: [PATCH] restore domain --- core/context/providers/GitHubIssuesContextProvider.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/context/providers/GitHubIssuesContextProvider.ts b/core/context/providers/GitHubIssuesContextProvider.ts index c0f25c12b..7bd64d860 100644 --- a/core/context/providers/GitHubIssuesContextProvider.ts +++ b/core/context/providers/GitHubIssuesContextProvider.ts @@ -24,6 +24,9 @@ class GitHubIssuesContextProvider extends BaseContextProvider { const octokit = new Octokit({ auth: this.options?.githubToken, + baseUrl: this.options?.domain + ? `https://${this.options.domain}/api/v3` + : undefined, request: { fetch: extras.fetch, },