framework/ember/app/adapters/application.js

9 lines
241 B
JavaScript
Raw Normal View History

import JsonApiAdapter from 'ember-json-api/json-api-adapter';
import config from '../config/environment';
2014-12-20 14:26:46 +08:00
export default JsonApiAdapter.extend({
// Todo: make this loaded via an environment variable or something
host: config.apiURL
});