Our website is using Weglot as language translation tool, where the chosen translations are handled in sub-domains - e.g. “https://fr.justeasytools.com” where the main domain is “https://justeasytools.com”.
Our contact form at our main domain - Contact us for more information about our tyre handlers - works perfectly, but at our sub-domains it do not - we get following error:
Access to XMLHttpRequest at ‘https://justeasytools.com/api/form/SaveFormSubmission’ (redirected from ‘https://fr.justeasytools.com/api/form/SaveFormSubmission’) from origin ‘https://fr.justeasytools.com’ has been blocked by CORS policy: Request header field x-csrf-token is not allowed by Access-Control-Allow-Headers in preflight response.
I do not have any knowledge about CORS, so is there anyone who can guide me in the right direction to solve this? - is it a Cloudflare setting or …?