Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
autoradio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ale
autoradio
Commits
0d34e7ed
Commit
0d34e7ed
authored
9 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
remove usage of 'stream' prefix in the status dashboard
parent
386d188d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
fe/dns.go
+5
-0
5 additions, 0 deletions
fe/dns.go
fe/templates/index.html
+5
-5
5 additions, 5 deletions
fe/templates/index.html
with
10 additions
and
5 deletions
fe/dns.go
+
5
−
0
View file @
0d34e7ed
...
...
@@ -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
,
...
...
This diff is collapsed.
Click to expand it.
fe/templates/index.html
+
5
−
5
View file @
0d34e7ed
<!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}}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment