mirror of
https://github.com/documize/community.git
synced 2025-08-08 23:15:29 +02:00
Create ajax.js
This commit is contained in:
parent
5ccfb4f408
commit
c4404bc7b0
1 changed files with 7 additions and 0 deletions
7
app/app/services/ajax.js
Normal file
7
app/app/services/ajax.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
import AjaxService from 'ember-ajax/services/ajax';
|
||||
import config from '../config/environment';
|
||||
|
||||
export default AjaxService.extend({
|
||||
host: config.host,
|
||||
namespace: config.namespace
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue