How enable CORS

System Information
  • Strapi Version:
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

Hi friends

I need to enable CORS in Strapi in develop for integrate in the frontend with Quasar Framework.

I have tried with middleware.js:
https://strapi.io/documentation/v3.x/concepts/middlewares.html#configuration-and-activation

but it does not work

Gracias por cualquier ayuda

Can you share the code from Middleware. js?