1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-06-15 07:03:16 +02:00

conditionally display volume server public url link

This commit is contained in:
Chris Lu 2020-10-23 23:58:46 -07:00
parent 8eaa067da5
commit fb124f2d4a

View file

@ -89,7 +89,7 @@ var StatusTpl = template.Must(template.New("status").Parse(`<!DOCTYPE html>
<td><code>{{ $dc.Id }}</code></td>
<td>{{ $rack.Id }}</td>
<td><a href="http://{{ $dn.Url }}/ui/index.html">{{ $dn.Url }}</a>
{{ if $dn.PublicUrl }}
{{ if ne $dn.PublicUrl $dn.Url }}
/ <a href="http://{{ $dn.PublicUrl }}/ui/index.html">{{ $dn.PublicUrl }}</a>
{{ end }}
</td>