{"action":"opened","issue":{"url":"https://api.github.com/repos/huafu/ember-data-sails/issues/11","labels_url":"https://api.github.com/repos/huafu/ember-data-sails/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/huafu/ember-data-sails/issues/11/comments","events_url":"https://api.github.com/repos/huafu/ember-data-sails/issues/11/events","html_url":"https://github.com/huafu/ember-data-sails/issues/11","id":63691565,"number":11,"title":"Error fetching crsf token with sails and ember on different host","user":{"login":"tibotiber","id":5635553,"avatar_url":"https://avatars.githubusercontent.com/u/5635553?v=3","gravatar_id":"","url":"https://api.github.com/users/tibotiber","html_url":"https://github.com/tibotiber","followers_url":"https://api.github.com/users/tibotiber/followers","following_url":"https://api.github.com/users/tibotiber/following{/other_user}","gists_url":"https://api.github.com/users/tibotiber/gists{/gist_id}","starred_url":"https://api.github.com/users/tibotiber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tibotiber/subscriptions","organizations_url":"https://api.github.com/users/tibotiber/orgs","repos_url":"https://api.github.com/users/tibotiber/repos","events_url":"https://api.github.com/users/tibotiber/events{/privacy}","received_events_url":"https://api.github.com/users/tibotiber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-23T10:43:06Z","updated_at":"2015-03-23T10:43:06Z","closed_at":null,"body":"Hi. Thanks again for the work. \r\nIt seems your REST adapter is trying to fetch a csrf token from the ember host, not the sails host. GET requests are ok but as soon as I POST, I get\r\n```\r\nGET http://dev.planecq.com:4200/csrfToken 404 (Not Found) \r\n```\r\nand `...:4200` is my ember host, sails is on `...:1337`."}}