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:

but it does not work

Gracias por cualquier ayuda

Can you share the code from Middleware. js?