server/bo_client/app/adapters/application.js
author ymh <ymh.work@gmail.com>
Mon, 14 Nov 2016 17:23:43 +0100
changeset 423 788971813bdc
parent 304 20071981ba2a
child 517 3143195e91b4
permissions -rw-r--r--
Added tag 0.0.11 for changeset a351fc0c4ad7

import RESTAdapter from 'ember-data/adapters/rest';
import ENV from 'bo-client/config/environment';

export default RESTAdapter.extend({
    namespace: ENV.rootURL.replace(/\/$/,'')+'/api/v1'
    //TODO: pass this as configuration
    //host: 'http://localhost:8000'
});