server/bo_client/app/adapters/application.js
author ymh <ymh.work@gmail.com>
Tue, 01 Mar 2016 23:35:33 +0100
changeset 135 66c1d31e2f97
parent 107 16e1473a6a99
child 263 3deace9204de
permissions -rw-r--r--
first steps to add subject editing

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

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