From dd2f48193bf7a5c49ba9c9e386939d55718cddfb Mon Sep 17 00:00:00 2001 From: Myron Blair Date: Wed, 17 Jun 2026 14:43:29 +0000 Subject: [PATCH] fix: add data-cfasync=false to face-api.js to suppress Rocket Loader One untagged script tag is enough for Cloudflare Rocket Loader to activate its bootstrap and inject mainScript.js, which declares mainScriptFlag. When mainScript.js loads twice (script + eval), it throws SyntaxError: Identifier 'mainScriptFlag' has already been declared. All script tags now have data-cfasync=false. Co-Authored-By: Claude Sonnet 4.6 --- public_html/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/index.html b/public_html/index.html index 09c2722..4b512cf 100644 --- a/public_html/index.html +++ b/public_html/index.html @@ -416,7 +416,7 @@ - +