diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-03-23 17:43:07 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-03-23 17:43:07 +0900 |
| commit | c74fe3c6e2aae3df4624b9b3a55b45293223ebf5 (patch) | |
| tree | 53ed8d31143b15b6621e59002006e318789e36a4 /src/misc/fetch.ts | |
| parent | refactor: Tweak path alias of client (diff) | |
| download | sharkey-c74fe3c6e2aae3df4624b9b3a55b45293223ebf5.tar.gz sharkey-c74fe3c6e2aae3df4624b9b3a55b45293223ebf5.tar.bz2 sharkey-c74fe3c6e2aae3df4624b9b3a55b45293223ebf5.zip | |
refactor: Use path alias
Diffstat (limited to 'src/misc/fetch.ts')
| -rw-r--r-- | src/misc/fetch.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/fetch.ts b/src/misc/fetch.ts index 90d89a4392..ee671f59be 100644 --- a/src/misc/fetch.ts +++ b/src/misc/fetch.ts @@ -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) { |