server/bo_client/app/adapters/application.js
author Chloe Laisne <chloe.laisne@gmail.com>
Mon, 04 Jul 2016 23:04:42 +0200
changeset 224 d284324358b2
parent 107 16e1473a6a99
child 263 3deace9204de
permissions -rw-r--r--
Remplace hexadecimal codes with sass variables Cleanup dead method in application controller Remove unused sass files

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