server/bo_client/app/adapters/application.js
author ymh <ymh.work@gmail.com>
Wed, 24 Aug 2016 15:01:54 +0200
changeset 264 e0fc9f698b9b
parent 263 3deace9204de
child 304 20071981ba2a
permissions -rw-r--r--
undo bad merge on player component + correct jshint

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'
});