Merge pull request 'Fix handling of https on backend calls. FE should be able to handle either' (#24) from hotfix/handle-https into develop
Reviewed-on: #24
This commit is contained in:
commit
380cc605d5
|
@ -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';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue