Clean up of launcher and added new Node and Electron functions

This commit is contained in:
Scott Idem
2022-05-06 14:50:52 -04:00
parent 98bd835342
commit 4c65d9dc42
5 changed files with 131 additions and 18 deletions

View File

@@ -100,13 +100,16 @@
console.log(api_secret_key);
let api_temporary_token = null;
let api_base_url = null;
let api_server_base_url = app_config.api_server_base_url; // null;
let api_server_base_url_bak = app_config.api_server_base_url_bak;
let app_server_base_url = app_config.app_server_base_url;
// let file_base_url = app_config.file_server_base_url;
if (app_config.use_local_api) {
api_base_url = app_config.api_local_base_url; // 'http://api.localhost:5001'
} else {
api_base_url = app_config.api_remote_base_url; // 'https://api.oneskyit.com'
}
// if (app_config.use_local_api) {
// api_server_base_url = app_config.api_local_base_url; // 'http://api.localhost:5001'
// } else {
// api_server_base_url = app_config.api_remote_base_url; // 'https://api.oneskyit.com'
// }
/* ***** **** *** ** * ### * ** *** **** ***** */