summaryrefslogtreecommitdiff
path: root/src/misc/captcha.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/captcha.ts')
-rw-r--r--src/misc/captcha.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc/captcha.ts b/src/misc/captcha.ts
index 4623565c3c..f36943b589 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.js';
-import config from '@/config/index.js';
+import { getAgentByUrl } from './fetch';
+import config from '@/config/index';
export async function verifyRecaptcha(secret: string, response: string) {
const result = await getCaptchaResponse('https://www.recaptcha.net/recaptcha/api/siteverify', secret, response).catch(e => {