1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-10 07:55:25 +02:00

change test url back to localhost

This commit is contained in:
Harvey Kandola 2016-05-19 16:09:07 -07:00
parent edd4f8a56c
commit 1d29caef53

View file

@ -1,11 +1,11 @@
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved. // Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
// //
// This software (Documize Community Edition) is licensed under // This software (Documize Community Edition) is licensed under
// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html // GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
// //
// You can operate outside the AGPL restrictions by purchasing // You can operate outside the AGPL restrictions by purchasing
// Documize Enterprise Edition and obtaining a commercial license // Documize Enterprise Edition and obtaining a commercial license
// by contacting <sales@documize.com>. // by contacting <sales@documize.com>.
// //
// https://documize.com // https://documize.com
@ -33,7 +33,7 @@ module.exports = function(environment) {
ENV.APP.LOG_TRANSITIONS_INTERNAL = true; ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
ENV.apiHost = "https://localhost:5001"; ENV.apiHost = "https://localhost:5001";
ENV.apiHost = "https://demo1.dev:5001"; // ENV.apiHost = "https://demo1.dev:5001";
} }
if (environment === 'test') { if (environment === 'test') {
@ -49,7 +49,8 @@ module.exports = function(environment) {
// ENV.locationType = 'none'; // ENV.locationType = 'none';
// ENV.APP.rootElement = '#ember-testing'; // ENV.APP.rootElement = '#ember-testing';
ENV.apiHost = "https://demo1.dev:5001"; ENV.apiHost = "https://localhost:5001";
// ENV.apiHost = "https://demo1.dev:5001";
} }
if (environment === 'production') { if (environment === 'production') {
@ -63,7 +64,6 @@ module.exports = function(environment) {
} }
ENV.apiNamespace = "api"; ENV.apiNamespace = "api";
ENV.contentSecurityPolicy = null; ENV.contentSecurityPolicy = null;
// ENV.contentSecurityPolicy = { // ENV.contentSecurityPolicy = {
@ -85,4 +85,4 @@ module.exports = function(environment) {
// }; // };
return ENV; return ENV;
}; };