Skip to content
Snippets Groups Projects
Commit 0d34e7ed authored by ale's avatar ale
Browse files

remove usage of 'stream' prefix in the status dashboard

parent 386d188d
No related branches found
No related tags found
No related merge requests found
......@@ -145,6 +145,11 @@ func NewDNSRedirector(client *autoradio.Client, origin string, publicIps []net.I
ttl: ttl,
nameservers: addDotToList(nameservers),
soa: soa,
// We expect the public URLs to just use the origin,
// but serve a number of extra domain names such as
// 'stream' and 'www' just in case (and for backwards
// compatibility reasons).
queryTable: map[string]ipFunc{
"": getAutoradioIPs,
"www": getAutoradioIPs,
......
<!DOCTYPE html>
<html>
<head>
<title>stream.{{.Domain}}</title>
<title>{{.Domain}}</title>
<link rel="stylesheet"
href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<link rel="stylesheet" href="/static/style.css">
......@@ -25,21 +25,21 @@
{{$domain := .Domain}}
{{range .Mounts}}
<li>
<a href="http://stream.{{$domain}}{{.Mount.Name}}"
<a href="http://{{$domain}}{{.Mount.Name}}"
{{if .Mount.RelayUrl}}
data-toggle="tooltip" data-delay="300" title="relay of {{.Mount.RelayUrl}}"
{{end}}
>{{.Mount.Name}}</a>
<a href="http://stream.{{$domain}}{{.Mount.Name}}.m3u">(m3u)</a>
<a href="http://{{$domain}}{{.Mount.Name}}.m3u">(m3u)</a>
<span class="badge">{{.Listeners}}</span>
{{if .TransMounts}}
<ul>
{{range .TransMounts}}
<li>
<a href="http://stream.{{$domain}}{{.Mount.Name}}"
<a href="http://{{$domain}}{{.Mount.Name}}"
data-toggle="tooltip" data-delay="300" title="{{.Mount.Transcoding.String}}"
>{{.Mount.Name}}</a>
<a href="http://stream.{{$domain}}{{.Mount.Name}}.m3u">(m3u)</a>
<a href="http://{{$domain}}{{.Mount.Name}}.m3u">(m3u)</a>
<span class="badge">{{.Listeners}}</span>
</li>
{{end}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment