mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-03 18:50:05 +00:00
8 lines
184 B
TypeScript
8 lines
184 B
TypeScript
import axios from 'axios'
|
|
import * as https from 'https'
|
|
|
|
export const createAxiosInstance = (
|
|
baseURL: string,
|
|
httpsAgent?: https.Agent
|
|
) => axios.create({ baseURL, httpsAgent })
|