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

event logging

This commit is contained in:
Harvey Kandola 2017-05-04 12:31:52 +01:00
parent b6c676149a
commit 93ed361705
48 changed files with 861 additions and 853 deletions

View file

@ -36,9 +36,6 @@ module.exports = function (environment) {
routeIfAlreadyAuthenticated: 'folders'
},
APP: {
// Allows to disable audit service in tests
auditEnabled: true,
intercomKey: ""
}
};
@ -69,7 +66,6 @@ module.exports = function (environment) {
ENV['ember-cli-mirage'] = {
enabled: true
};
ENV.APP.auditEnabled = false;
ENV.apiHost = "https://localhost:5001";
}
@ -86,10 +82,6 @@ module.exports = function (environment) {
process.argv.forEach(function (element) {
if (element !== undefined) {
if (element.startsWith("intercom=")) {
element = element.replace("intercom=", "");
ENV.APP.intercomKey = element;
}
if (element.startsWith("apiHost=")) {
element = element.replace("apiHost=", "");
ENV.apiHost = element;