Hello I enabled functions and Static

Hello, I enabled functions and Static Forms Pages Plugin. Now Cloudflare rewrites the Javascript in my static assets (replacing .innerHTML="<form></form><form></form>" by .innerHTML="<form method="POST"><input type="hidden" name="static-form-name" value="null" /></form><form method="POST"><input type="hidden" name="static-form-name" value="null" /></form>"). Obviously this breaks the JS + the computation of the integrity hash, and I don’t see the point of this rewrite as this file is completely unrelated to functions. Is there a config flag I missed?
1 Reply
lerela
lerelaOP15mo ago
If the doc accurately describes this plugin https://developers.cloudflare.com/pages/platform/functions/plugins/ this looks like a bug, I don’t see how the rewriter would decide to touch a JS file
Want results from more Discord servers?
Add your server