samedi 11 avril 2015

How to enable CORS in grails 3.0.1

Hello I would like to do cross origin communication using grails in server side. The only documentation that I found is this one


http://ift.tt/1cmco86


but this is for an old version of grails. The other documentation that I found is for spring:


http://ift.tt/1oqvbA2


so I added the file SimpleCorsFilter.groovy to init/myproject/ folder, but I don't know how to wire this component into resources.groovy


Aucun commentaire:

Enregistrer un commentaire