mirror of
https://github.com/flarum/framework.git
synced 2024-12-13 15:13:42 +08:00
9 lines
241 B
JavaScript
9 lines
241 B
JavaScript
import JsonApiAdapter from 'ember-json-api/json-api-adapter';
|
|
import config from '../config/environment';
|
|
|
|
export default JsonApiAdapter.extend({
|
|
|
|
// Todo: make this loaded via an environment variable or something
|
|
host: config.apiURL
|
|
|
|
}); |