diff options
Diffstat (limited to 'weed/server/master_ui/templates.go')
| -rw-r--r-- | weed/server/master_ui/templates.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/weed/server/master_ui/templates.go b/weed/server/master_ui/templates.go index 7189064d0..60873f6aa 100644 --- a/weed/server/master_ui/templates.go +++ b/weed/server/master_ui/templates.go @@ -88,7 +88,11 @@ var StatusTpl = template.Must(template.New("status").Parse(`<!DOCTYPE html> <tr> <td><code>{{ $dc.Id }}</code></td> <td>{{ $rack.Id }}</td> - <td><a href="http://{{ $dn.Url }}/ui/index.html">{{ $dn.Url }}</a></td> + <td><a href="http://{{ $dn.Url }}/ui/index.html">{{ $dn.Url }}</a> + {{ if ne $dn.PublicUrl $dn.Url }} + / <a href="http://{{ $dn.PublicUrl }}/ui/index.html">{{ $dn.PublicUrl }}</a> + {{ end }} + </td> <td>{{ $dn.Volumes }}</td> <td>{{ $dn.VolumeIds}}</td> <td>{{ $dn.EcShards }}</td> |
