mirror of
https://github.com/documize/community.git
synced 2025-08-07 22:45:24 +02:00
Merge branch 'master' into pre-release-tidy
This commit is contained in:
commit
a0f712ca02
1 changed files with 13 additions and 10 deletions
|
@ -35,15 +35,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 (environment === 'development') {
|
||||
ENV.APP.LOG_TRANSITIONS = true;
|
||||
ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
|
||||
|
@ -52,7 +43,6 @@ module.exports = function(environment) {
|
|||
};
|
||||
|
||||
ENV.apiHost = "https://localhost:5001";
|
||||
// ENV.apiHost = "https://demo1.dev:5001";
|
||||
}
|
||||
|
||||
if (environment === 'test') {
|
||||
|
@ -83,6 +73,19 @@ module.exports = function(environment) {
|
|||
ENV.apiHost = "";
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
ENV.apiNamespace = "api";
|
||||
ENV.contentSecurityPolicy = null;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue