From eab861cb43ada1735655b6bf28a6d5198e87ce8b Mon Sep 17 00:00:00 2001 From: "Stephen J. Lu" Date: Wed, 25 Dec 2024 18:39:06 -0800 Subject: [PATCH] Changed worker to single domain --- app/components/turnstile/worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/turnstile/worker.js b/app/components/turnstile/worker.js index 0f65bf4..6ad0f32 100644 --- a/app/components/turnstile/worker.js +++ b/app/components/turnstile/worker.js @@ -3,7 +3,7 @@ const CORS_HEADERS = { 'Content-Type': 'application/json', - 'Access-Control-Allow-Origin': '*', + 'Access-Control-Allow-Origin': 'https://stephenjlu.com', //Change this to your domain 'Access-Control-Allow-Methods': 'POST', 'Access-Control-Allow-Headers': 'Content-Type' };