mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-11-19 02:01:05 +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()
|
||||
|
||||
const baseUrl = Utils.getApiBaseUrl()
|
||||
const defaults = {
|
||||
export const defaults: OctokitOptions = {
|
||||
baseUrl,
|
||||
request: {
|
||||
agent: Utils.getProxyAgent(baseUrl)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user