jeudi 1 janvier 2015

Setting CORS for static files files on ember-cli server

How do I set CORS on requests for fonts files (or any other static resource) on the built in ember-cli server?


This is the error message just for reference:



Font from origin 'http://some-domain:4200' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:61277' is therefore not allowed access.




Aucun commentaire:

Enregistrer un commentaire