Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
xetorthio committed Jul 29, 2017
1 parent 5ee4bb2 commit 201aed1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/local_cached_factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func (f *localCachedFactory) GetForInstance(sessionId, instanceName string) (Doc
cli := &http.Client{
Transport: transport,
}
dc, err := client.NewClient("http://192.168.1.5:443", api.DefaultVersion, cli, map[string]string{"X-Forwarded-Host": router.EncodeHost(instance.SessionId, instance.IP, router.HostOpts{EncodedPort: 2375})})
dc, err := client.NewClient("http://l2:443", api.DefaultVersion, cli, map[string]string{"X-Forwarded-Host": router.EncodeHost(instance.SessionId, instance.IP, router.HostOpts{EncodedPort: 2375})})
if err != nil {
return nil, fmt.Errorf("Could not connect to DinD docker daemon", err)
}
Expand Down
2 changes: 1 addition & 1 deletion www/assets/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@
}

$scope.getProxyUrl = function(instance, port) {
var url = window.location.protocol + '//' + instance.proxy + '-' + port + '.' + window.location.host;
var url = window.location.protocol + '//' + instance.proxy_host + '-' + port + '.direct.' + window.location.host;

return url;
}
Expand Down

0 comments on commit 201aed1

Please sign in to comment.