1
0
mirror of https://github.com/actions/setup-dotnet.git synced 2025-03-03 11:09:05 +07:00
2019-10-03 16:35:25 -07:00

16 lines
415 B
JavaScript

import { getUserAgent } from "universal-user-agent";
import { VERSION } from "./version";
const userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`;
export const DEFAULTS = {
method: "GET",
baseUrl: "https://api.github.com",
headers: {
accept: "application/vnd.github.v3+json",
"user-agent": userAgent
},
mediaType: {
format: "",
previews: []
}
};