1
0
mirror of https://github.com/XFox111/my-website.git synced 2026-04-22 07:28:01 +03:00

feat!: site refresh + dependency update

This commit is contained in:
2025-12-11 05:51:44 +00:00
parent aac9140830
commit 57b3a72fa2
48 changed files with 4943 additions and 1743 deletions
+2 -2
View File
@@ -29,9 +29,9 @@ export async function verifyTurnstile(token: string): Promise<[false, TurnstileE
const result: TurnstileValidationResponse = await response.json();
if (result.success)
return [result.success];
return [true];
else
return [result.success, result["error-codes"][0]];
return [false, result["error-codes"][0]];
}
export type TurnstileValidationResponse =