author | ymh <ymh.work@gmail.com> |
Thu, 09 Feb 2017 17:22:58 +0100 | |
changeset 505 | 9175ea22f1b1 |
parent 304 | 20071981ba2a |
child 517 | 3143195e91b4 |
permissions | -rw-r--r-- |
32 | 1 |
import RESTAdapter from 'ember-data/adapters/rest'; |
28 | 2 |
import ENV from 'bo-client/config/environment'; |
4 | 3 |
|
32 | 4 |
export default RESTAdapter.extend({ |
304
20071981ba2a
add location and geonames resolvers and api
ymh <ymh.work@gmail.com>
parents:
263
diff
changeset
|
5 |
namespace: ENV.rootURL.replace(/\/$/,'')+'/api/v1' |
20071981ba2a
add location and geonames resolvers and api
ymh <ymh.work@gmail.com>
parents:
263
diff
changeset
|
6 |
//TODO: pass this as configuration |
20071981ba2a
add location and geonames resolvers and api
ymh <ymh.work@gmail.com>
parents:
263
diff
changeset
|
7 |
//host: 'http://localhost:8000' |
4 | 8 |
}); |