How to enable CORS in Aurelia?

I’m using Aurelia. How to enable CORS in Aurelia Framework?.

This error in being shown in Firefox:

Cabecera CORS ‘Access-Control-Allow-Origin’ no presente


1 Like

To enable CORs, you should config server to have Access-Control-Allow-Origin to * for development and specific domain for production

1 Like