diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-03-23 17:43:07 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-03-23 17:43:07 +0900 |
| commit | c74fe3c6e2aae3df4624b9b3a55b45293223ebf5 (patch) | |
| tree | 53ed8d31143b15b6621e59002006e318789e36a4 /src/misc/captcha.ts | |
| parent | refactor: Tweak path alias of client (diff) | |
| download | misskey-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.ts | 2 |
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 => { |