Fix handling of https on backend calls. FE should be able to handle either

This commit is contained in:
Leonard Smith 2021-08-18 12:45:06 -05:00
parent 81c647004d
commit c4e024767c
1 changed files with 5 additions and 5 deletions

View File

@ -38,7 +38,7 @@ module.exports = function (environment) {
ENV.APP.LOG_TRANSITIONS = true;
ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
// ENV.APP.LOG_VIEW_LOOKUPS = true;
ENV.APP.hostUrl = 'http://backend.bibletranslationresources.org';
ENV.APP.hostUrl = 'http://gwt.api';
}
if (environment === 'test') {
@ -55,13 +55,13 @@ module.exports = function (environment) {
if (environment === 'production') {
// here you can enable a production-specific feature
ENV.APP.hostUrl = 'http://backend.bibletranslationresources.org';
ENV.APP.hostUrl = 'https://backend.bibletranslationresources.org';
}
if (environment === 'staging') {
ENV.APP.hostUrl = 'http://backend.bibletranslationresources.org';
ENV.APP.rootURL = 'http://bibletranslationresources.org/test/current/';
ENV.APP.baseUrl = 'http://bibletranslationresources.org/test/current/';
ENV.APP.hostUrl = 'https://backend.bibletranslationresources.org';
ENV.APP.rootURL = 'https://bibletranslationresources.org/test/current/';
ENV.APP.baseUrl = 'https://bibletranslationresources.org/test/current/';
ENV.APP.locationType = 'hash';
}