fix: mochaが動かないため拡張子なしに戻した

This commit is contained in:
syuilo 2021-08-19 21:55:45 +09:00
parent e9f34a0f09
commit 42cc93dd0f
657 changed files with 3085 additions and 3085 deletions

View file

@ -3,7 +3,7 @@ import * as https from 'https';
import CacheableLookup from 'cacheable-lookup';
import fetch, { HeadersInit } from 'node-fetch';
import { HttpProxyAgent, HttpsProxyAgent } from 'hpagent';
import config from '@/config/index.js';
import config from '@/config/index';
import { URL } from 'url';
export async function getJson(url: string, accept = 'application/json, */*', timeout = 10000, headers?: HeadersInit) {