savtrip
savtrip
CDCloudflare Developers
Created by savtrip on 12/25/2023 in #pages-help
Cloudflare strips external domains from form action attribute?
Hey guys, I am running into a problem with HTML forms. On a form action with an external link like so: <form method="POST" action="https://buttondown.email/api/emails/"> In production the action is being stripped like so: <form method="POST"> I have tested my static site locally and it maintains the action but in Cloudflare Page it strips it. Is there a configuration setting in Cloudflare that is stripping this form action?
3 replies
CDCloudflare Developers
Created by savtrip on 12/21/2023 in #pages-help
Global Environment Variables
Hey guys, I am migrating websites to cloudflare that utilise the same API keys, for example for a transactional email service. Is there a way to set an API key across multiple projects just like Netlify does with global environment variables? Without global environment variables if a key expires for any reason I need to go and set it on up to 50 separate websites. #functions (I wrote this in the functions channel but was unsure if I posted it in the correct location).
3 replies