resolution CORS bug when we use grunt