From 036f532f310f836b7dbf9bb5ca15348488934cfc Mon Sep 17 00:00:00 2001 From: regalijan Date: Thu, 19 Oct 2023 16:51:11 -0400 Subject: [PATCH] Make horrid webview captcha route --- app/routes/captcha.tsx | 39 ++++++++++++++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 5 deletions(-) diff --git a/app/routes/captcha.tsx b/app/routes/captcha.tsx index a9fb82a..f4e3a35 100644 --- a/app/routes/captcha.tsx +++ b/app/routes/captcha.tsx @@ -1,9 +1,38 @@ +import { useLoaderData } from "@remix-run/react"; + +export async function loader({ + context, +}: { + context: RequestContext; +}): Promise { + return context.env.TURNSTILE_SITEKEY; +} + export default function () { return ( - + <> +
()} + >
+ + + ); }