import DS from 'ember-data';

export default DS.RESTAdapter.extend({
  host: window.HexoPluginSite.APP.apiHost,
  namespace: '/v1'
});

import DS from 'ember-data';
import ENV from 'hexo-plugin-site/config/environment';

export default DS.RESTAdapter.extend({
  host: ENV.APP.apiHost,
  namespace: '/v1',
  coalesceFindRequests: true
});

Change the way the configuration is accessed
Change the way the configuration is accessed
