Skip to content

Commit

Permalink
making override of openssl root a config option. makes android connec…
Browse files Browse the repository at this point in the history
…t again. MACA.
  • Loading branch information
orthecreedence committed Oct 21, 2018
1 parent b8c65a9 commit 41abde7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions www/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Object.merge(config, {
cookie_login: false,
base_url: window.location.toString().replace(/\/(index\.html)?$/, '/app'),
has_autologin: true,
openssl_override_root: false,
core: {
adapter: 'mobile',
options: {},
Expand Down
1 change: 1 addition & 0 deletions www/config.live.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Object.merge(config, {
cookie_login: false,
base_url: window.location.toString().replace(/\/(index\.html)?$/, '/app'),
has_autologin: true,
openssl_override_root: false,
core: {
adapter: 'mobile',
options: {},
Expand Down
4 changes: 3 additions & 1 deletion www/core-adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ var core_poller = setInterval(function() {
// the core has no real way of loading the config.yaml asset so we need to
// to just pass in our entire config as a runtime config. thanks, obama.
core_config.config_file = ':null:';
core_config.openssl_cert_file = cert_file;
if(config.openssl_override_root) {
core_config.openssl_cert_file = cert_file;
}
return TurtlCore.start(JSON.stringify(core_config))
.then(function() {
core_init = true;
Expand Down

0 comments on commit 41abde7

Please sign in to comment.