From c74fe3c6e2aae3df4624b9b3a55b45293223ebf5 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 23 Mar 2021 17:43:07 +0900 Subject: refactor: Use path alias --- src/misc/fetch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/misc/fetch.ts') 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) { -- cgit v1.2.3-freya