POST request email; CORS error

System Information
  • Strapi Version: 3.6.5.
  • Operating System: Heroku
  • Database: Postgress
  • Node Version: v14.18.1

I’m having a hard time creating a POST request on my email route. I’m using a Nuxt frontend, with a Strapi backend on a Heroku dyno with Postgress.

Whenever I’m posting to the email route I get an error like:

Access to XMLHttpRequest at ‘https:// admin.ribtasticbrothers.nl/emails/catering’ from origin ‘https:// ribtasticbrothers.nl’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

I’ve looked up many related topics, but all the suggestions there were not able to help me.

I really hope you could help me solve the problem