Skip to content

Commit

Permalink
fix(router): google recaptcha verification url is incorrect (#1263)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkopanidis authored Dec 19, 2024
1 parent 483c8a3 commit 2ea88ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class CaptchaValidator {
}

async recaptchaVerify(secret: string, token: string) {
const googleUrl = `https://www.google.com/siteverify?secret=${secret}&response=${token}`;
const googleUrl = `https://www.google.com/recaptcha/api/siteverify?secret=${secret}&response=${token}`;
const response = await axios
.post(
googleUrl,
Expand Down

0 comments on commit 2ea88ef

Please sign in to comment.