mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-28 11:15:43 +08:00
remove debug code
This commit is contained in:
@@ -171,7 +171,7 @@ export default function auth(req: NextApiRequest, res: NextApiResponse) {
|
||||
const ip = typeof forwarded === "string" ? forwarded.split(/, /)[0] : req.socket.remoteAddress;
|
||||
|
||||
const res = await checkCaptcha(captcha, ip);
|
||||
console.log(res);
|
||||
|
||||
if (res.success) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user