From de6131aeac72a518a2ec67375a4bfe7ee6614a41 Mon Sep 17 00:00:00 2001 From: Sora39831 <540587985@qq.com> Date: Fri, 3 Apr 2026 02:46:20 +0800 Subject: [PATCH] fix: fix Turnstile widget not rendering behind Cloudflare Rocket Loader Load Turnstile api.js statically in
with data-cfasync="false" to bypass Rocket Loader interference. Use turnstile.render() API to manually render widget after site key is fetched, instead of relying on dynamic script loading and Vue data-bind attributes. --- web/html/login.html | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/web/html/login.html b/web/html/login.html index ce99b116..2c6e3b4c 100644 --- a/web/html/login.html +++ b/web/html/login.html @@ -1,4 +1,5 @@ {{ template "page/head_start" .}} + {{ template "page/head_end" .}} {{ template "page/body_start" .}} @@ -118,7 +119,7 @@