From 31d452f7e50bbfd88fa14470e86e6359e2a15db3 Mon Sep 17 00:00:00 2001 From: Hunter Bertoson <44106297+hkbertoson@users.noreply.github.com> Date: Wed, 11 Dec 2024 12:04:34 -0600 Subject: [PATCH] Updates --- .changeset/quiet-readers-beg.md | 5 +++++ package/lib/components/TurnstileForm.astro | 2 +- package/lib/components/TurnstileWidget.astro | 2 +- package/src/middleware.ts | 10 +++------- 4 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 .changeset/quiet-readers-beg.md diff --git a/.changeset/quiet-readers-beg.md b/.changeset/quiet-readers-beg.md new file mode 100644 index 0000000..13a7883 --- /dev/null +++ b/.changeset/quiet-readers-beg.md @@ -0,0 +1,5 @@ +--- +"astro-turnstile": minor +--- + +Updated to use data attribute instead of comment diff --git a/package/lib/components/TurnstileForm.astro b/package/lib/components/TurnstileForm.astro index d484659..7c909f5 100644 --- a/package/lib/components/TurnstileForm.astro +++ b/package/lib/components/TurnstileForm.astro @@ -25,11 +25,11 @@ const { const siteUrl = Astro.site; --- -