summaryrefslogtreecommitdiff
path: root/src/remote/activitypub/request.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-03-23 17:43:07 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-03-23 17:43:07 +0900
commitc74fe3c6e2aae3df4624b9b3a55b45293223ebf5 (patch)
tree53ed8d31143b15b6621e59002006e318789e36a4 /src/remote/activitypub/request.ts
parentrefactor: Tweak path alias of client (diff)
downloadsharkey-c74fe3c6e2aae3df4624b9b3a55b45293223ebf5.tar.gz
sharkey-c74fe3c6e2aae3df4624b9b3a55b45293223ebf5.tar.bz2
sharkey-c74fe3c6e2aae3df4624b9b3a55b45293223ebf5.zip
refactor: Use path alias
Diffstat (limited to 'src/remote/activitypub/request.ts')
-rw-r--r--src/remote/activitypub/request.ts6
1 files changed, 3 insertions, 3 deletions
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;