summaryrefslogtreecommitdiff
path: root/src/misc/captcha.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/misc/captcha.ts
parentrefactor: Tweak path alias of client (diff)
downloadmisskey-c74fe3c6e2aae3df4624b9b3a55b45293223ebf5.tar.gz
misskey-c74fe3c6e2aae3df4624b9b3a55b45293223ebf5.tar.bz2
misskey-c74fe3c6e2aae3df4624b9b3a55b45293223ebf5.zip
refactor: Use path alias
Diffstat (limited to 'src/misc/captcha.ts')
-rw-r--r--src/misc/captcha.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/captcha.ts b/src/misc/captcha.ts
index 87ec143ca8..727c86af0f 100644
--- a/src/misc/captcha.ts
+++ b/src/misc/captcha.ts
@@ -1,7 +1,7 @@
import fetch from 'node-fetch';
import { URLSearchParams } from 'url';
import { getAgentByUrl } from './fetch';
-import config from '../config';
+import config from '@/config';
export async function verifyRecaptcha(secret: string, response: string) {
const result = await getCaptchaResponse('https://www.recaptcha.net/recaptcha/api/siteverify', secret, response).catch(e => {