mirror of
https://github.com/documize/community.git
synced 2025-08-09 07:25:23 +02:00
Correct apiHost and apiNamespace in ajax service
This commit is contained in:
parent
86aaead1ce
commit
69c760d351
2 changed files with 3 additions and 2 deletions
|
@ -2,6 +2,6 @@ import AjaxService from 'ember-ajax/services/ajax';
|
||||||
import config from '../config/environment';
|
import config from '../config/environment';
|
||||||
|
|
||||||
export default AjaxService.extend({
|
export default AjaxService.extend({
|
||||||
host: config.host,
|
host: config.apiHost,
|
||||||
namespace: config.namespace
|
namespace: config.apiNamespace
|
||||||
});
|
});
|
||||||
|
|
|
@ -44,6 +44,7 @@ module.exports = function(environment) {
|
||||||
};
|
};
|
||||||
|
|
||||||
ENV.apiHost = "https://localhost:5001";
|
ENV.apiHost = "https://localhost:5001";
|
||||||
|
ENV.apiNamespace = "api";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (environment === 'test') {
|
if (environment === 'test') {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue