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/remote/activitypub/request.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/remote/activitypub/request.ts') diff --git a/src/remote/activitypub/request.ts b/src/remote/activitypub/request.ts index 5f15d5480c..fc774bc9a5 100644 --- a/src/remote/activitypub/request.ts +++ b/src/remote/activitypub/request.ts @@ -3,13 +3,13 @@ import * as https from 'https'; import { sign } from 'http-signature'; import * as crypto from 'crypto'; -import config from '../../config'; +import config from '@/config'; import { ILocalUser } from '../../models/entities/user'; -import { getAgentByUrl } from '../../misc/fetch'; +import { getAgentByUrl } from '@/misc/fetch'; import { URL } from 'url'; import got from 'got'; import * as Got from 'got'; -import { getUserKeypair } from '../../misc/keypair-store'; +import { getUserKeypair } from '@/misc/keypair-store'; export default async (user: ILocalUser, url: string, object: any) => { const timeout = 10 * 1000; -- cgit v1.2.3-freya