summaryrefslogtreecommitdiff
path: root/src/misc/captcha.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-08-19 21:55:45 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-08-19 21:55:45 +0900
commit42cc93dd0f189995f29fc87d2734fc809105a7cf (patch)
tree7a74658a76d71d4c07bf89a7028fa1786af0e13e /src/misc/captcha.ts
parentMerge branch 'develop' of https://github.com/misskey-dev/misskey into develop (diff)
downloadmisskey-42cc93dd0f189995f29fc87d2734fc809105a7cf.tar.gz
misskey-42cc93dd0f189995f29fc87d2734fc809105a7cf.tar.bz2
misskey-42cc93dd0f189995f29fc87d2734fc809105a7cf.zip
fix: mochaが動かないため拡張子なしに戻した
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 => {