From 3353548f098cd20db3e4898d297032ec8c3ed002 Mon Sep 17 00:00:00 2001 From: pbca26 Date: Thu, 25 May 2017 17:03:58 +0300 Subject: [PATCH] removed refresh timeout param; userpass window var --- main.js | 1 + routes/cache.js | 2 +- routes/shepherd.js | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index be21642..0a4f60d 100644 --- a/main.js +++ b/main.js @@ -367,6 +367,7 @@ function createWindow (status) { shepherd.writeLog('show edex gui'); mainWindow.loadURL('http://127.0.0.1:3000'); mainWindow.appConfig = appConfig; + mainWindow.appSessionHash = appSessionHash; //mainWindow.loadURL('http://' + appConfig.host + ':' + appConfig.agamaPort + '/gui/EasyDEX-GUI/react/build'); } else { shepherd.writeLog('show edex gui'); diff --git a/routes/cache.js b/routes/cache.js index 406414c..bcc37cb 100644 --- a/routes/cache.js +++ b/routes/cache.js @@ -429,7 +429,7 @@ cache.one = function(req, res, next) { 'listunspent': 'http://' + cache.appConfig.host + ':' + iguanaCorePort + '/api/dex/listunspent?userpass=' + sessionKey + '&symbol=' + coin + '&address=' + address, 'listtransactions': 'http://' + cache.appConfig.host + ':' + iguanaCorePort + '/api/dex/listtransactions?userpass=' + sessionKey + '&count=100&skip=0&symbol=' + coin + '&address=' + address, 'getbalance': 'http://' + cache.appConfig.host + ':' + iguanaCorePort + '/api/dex/getbalance?userpass=' + sessionKey + '&symbol=' + coin + '&address=' + address, - 'refresh': 'http://' + cache.appConfig.host + ':' + iguanaCorePort + '/api/basilisk/refresh?userpass=' + sessionKey + '&timeout=600000&symbol=' + coin + '&address=' + address + 'refresh': 'http://' + cache.appConfig.host + ':' + iguanaCorePort + '/api/basilisk/refresh?userpass=' + sessionKey + '&symbol=' + coin + '&address=' + address }, _dexUrls = {}; diff --git a/routes/shepherd.js b/routes/shepherd.js index 8ba6ded..c3ec409 100644 --- a/routes/shepherd.js +++ b/routes/shepherd.js @@ -93,7 +93,8 @@ shepherd.appConfig = { "killIguanaOnStart": true, "dev": false, "v2": true, - "useBasiliskInstance": true + "useBasiliskInstance": true, + "debug": true, }; shepherd.writeLog = function(data) {