mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-01-03 15:52:57 +08:00
Export default octokit options (#1188)
This commit is contained in:
parent
192c26f865
commit
ac778acad2
@ -10,7 +10,7 @@ import {paginateRest} from '@octokit/plugin-paginate-rest'
|
|||||||
export const context = new Context.Context()
|
export const context = new Context.Context()
|
||||||
|
|
||||||
const baseUrl = Utils.getApiBaseUrl()
|
const baseUrl = Utils.getApiBaseUrl()
|
||||||
const defaults = {
|
export const defaults: OctokitOptions = {
|
||||||
baseUrl,
|
baseUrl,
|
||||||
request: {
|
request: {
|
||||||
agent: Utils.getProxyAgent(baseUrl)
|
agent: Utils.getProxyAgent(baseUrl)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user