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,13 +3,13 @@ import * as https from 'https';
import { sign } from 'http-signature';
import * as crypto from 'crypto';
import config from '@/config/index.js';
import { User } from '@/models/entities/user.js';
import { getAgentByUrl } from '@/misc/fetch.js';
import config from '@/config/index';
import { User } from '@/models/entities/user';
import { getAgentByUrl } from '@/misc/fetch';
import { URL } from 'url';
import got from 'got';
import * as Got from 'got';
import { getUserKeypair } from '@/misc/keypair-store.js';
import { getUserKeypair } from '@/misc/keypair-store';
export default async (user: { id: User['id'] }, url: string, object: any) => {
const timeout = 10 * 1000;