fix(extensions): fix invalid storidge API URL (#1707)

pull/1709/head
Anthony Lapenna 2018-03-09 19:50:48 +10:00 committed by GitHub
parent f1a21c07bd
commit 02b3d54a75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -54,8 +54,7 @@ function ExtensionManagerFactory($q, PluginService, SystemService, ExtensionServ
SystemService.info()
.then(function success(data) {
var managerIP = data.Swarm.NodeAddr;
// var storidgeAPIURL = 'tcp://' + managerIP + ':8282';
var storidgeAPIURL = 'tcp://home.cresswell.net.nz:8282';
var storidgeAPIURL = 'tcp://' + managerIP + ':8282';
return ExtensionService.registerStoridgeExtension(storidgeAPIURL);
})
.then(function success(data) {