refactor: Use path alias
This commit is contained in:
parent
d6e23b803b
commit
c74fe3c6e2
391 changed files with 557 additions and 557 deletions
|
|
@ -4,7 +4,7 @@ import * as cache from 'lookup-dns-cache';
|
|||
import fetch, { HeadersInit } from 'node-fetch';
|
||||
import { HttpProxyAgent } from 'http-proxy-agent';
|
||||
import { HttpsProxyAgent } from 'https-proxy-agent';
|
||||
import config from '../config';
|
||||
import config from '@/config';
|
||||
import { URL } from 'url';
|
||||
|
||||
export async function getJson(url: string, accept = 'application/json, */*', timeout = 10000, headers?: HeadersInit) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue