diff options
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 => { |