fix: specify baseUrl in Octokit (#107) (#108)

This commit is contained in:
YutaSaito authored and GitHub committed 2025-06-01 21:07:44 -07:00
1 parent 0cd44e50dd
commit f6e5597633
1 file changed
+4 -1
+4 -1
View File
@@ -9,7 +9,10 @@ export type Octokits = {
export function createOctokit(token: string): Octokits {
return {
rest: new Octokit({ auth: token }),
rest: new Octokit({
auth: token,
baseUrl: GITHUB_API_URL,
}),
graphql: graphql.defaults({
baseUrl: GITHUB_API_URL,
headers: {