Setting up CORS

This commit is contained in:
Matthew Dillon 2015-01-27 16:33:20 -09:00
parent b1275edfd0
commit 0cd461db18
4 changed files with 9 additions and 4 deletions

View file

@ -1,5 +1,7 @@
import DS from 'ember-data';
import config from '../config/environment';
export default DS.RESTAdapter.reopen({
namespace: 'api'
namespace: 'api',
host: config.apiURL
});