1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-08 23:15:29 +02:00

Correct apiHost and apiNamespace in ajax service

This commit is contained in:
zinyando 2016-06-27 14:42:37 +02:00
parent 86aaead1ce
commit 69c760d351
2 changed files with 3 additions and 2 deletions

View file

@ -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
});

View file

@ -44,6 +44,7 @@ module.exports = function(environment) {
};
ENV.apiHost = "https://localhost:5001";
ENV.apiNamespace = "api";
}
if (environment === 'test') {