Skip to content
Snippets Groups Projects
Commit 8a837431 authored by ale's avatar ale
Browse files

Remove extra / from /player links

parent 4b10fc87
Branches
No related tags found
No related merge requests found
......@@ -1043,7 +1043,7 @@ var _templatesIndexHtml = []byte(`<!DOCTYPE html>
<ul>
{{range $m := .Mounts}}
<li>
<a href="/player/{{$m.Mount.Path}}"
<a href="/player{{$m.Mount.Path}}"
{{if $m.Mount.RelayUrl}}
data-toggle="tooltip" data-delay="300" title="relay of {{$m.Mount.RelayUrl}}"
{{else if $m.IcecastMount.GetDescription}}
......@@ -1056,7 +1056,7 @@ var _templatesIndexHtml = []byte(`<!DOCTYPE html>
<ul>
{{range $tm := $m.TransMounts}}
<li>
<a href="/player/{{$tm.Mount.Path}}"
<a href="/player{{$tm.Mount.Path}}"
data-toggle="tooltip" data-delay="300" title="{{$tm.Mount.TranscodeParams.String}}"
>{{$tm.Mount.Path}}</a>
<a href="/{{$tm.Mount.Path}}.m3u">(m3u)</a>
......@@ -1122,7 +1122,7 @@ func templatesIndexHtml() (*asset, error) {
return nil, err
}
 
info := bindataFileInfo{name: "templates/index.html", size: 3208, mode: os.FileMode(420), modTime: time.Unix(1612375922, 0)}
info := bindataFileInfo{name: "templates/index.html", size: 3206, mode: os.FileMode(420), modTime: time.Unix(1612388216, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
......
......@@ -28,7 +28,7 @@
<ul>
{{range $m := .Mounts}}
<li>
<a href="/player/{{$m.Mount.Path}}"
<a href="/player{{$m.Mount.Path}}"
{{if $m.Mount.RelayUrl}}
data-toggle="tooltip" data-delay="300" title="relay of {{$m.Mount.RelayUrl}}"
{{else if $m.IcecastMount.GetDescription}}
......@@ -41,7 +41,7 @@
<ul>
{{range $tm := $m.TransMounts}}
<li>
<a href="/player/{{$tm.Mount.Path}}"
<a href="/player{{$tm.Mount.Path}}"
data-toggle="tooltip" data-delay="300" title="{{$tm.Mount.TranscodeParams.String}}"
>{{$tm.Mount.Path}}</a>
<a href="/{{$tm.Mount.Path}}.m3u">(m3u)</a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment