mirror of
https://github.com/documize/community.git
synced 2025-08-09 15:35:27 +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';
|
||||
|
||||
export default AjaxService.extend({
|
||||
host: config.host,
|
||||
namespace: config.namespace
|
||||
host: config.apiHost,
|
||||
namespace: config.apiNamespace
|
||||
});
|
||||
|
|
|
@ -44,6 +44,7 @@ module.exports = function(environment) {
|
|||
};
|
||||
|
||||
ENV.apiHost = "https://localhost:5001";
|
||||
ENV.apiNamespace = "api";
|
||||
}
|
||||
|
||||
if (environment === 'test') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue