Browse Source

removed refresh timeout param; userpass window var

all-modes
pbca26 8 years ago
parent
commit
3353548f09
  1. 1
      main.js
  2. 2
      routes/cache.js
  3. 3
      routes/shepherd.js

1
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');

2
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 = {};

3
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) {

Loading…
Cancel
Save