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

Remove extra / from /player links

parent 4b10fc87
Branches
Tags
No related merge requests found
...@@ -1043,7 +1043,7 @@ var _templatesIndexHtml = []byte(`<!DOCTYPE html> ...@@ -1043,7 +1043,7 @@ var _templatesIndexHtml = []byte(`<!DOCTYPE html>
<ul> <ul>
{{range $m := .Mounts}} {{range $m := .Mounts}}
<li> <li>
<a href="/player/{{$m.Mount.Path}}" <a href="/player{{$m.Mount.Path}}"
{{if $m.Mount.RelayUrl}} {{if $m.Mount.RelayUrl}}
data-toggle="tooltip" data-delay="300" title="relay of {{$m.Mount.RelayUrl}}" data-toggle="tooltip" data-delay="300" title="relay of {{$m.Mount.RelayUrl}}"
{{else if $m.IcecastMount.GetDescription}} {{else if $m.IcecastMount.GetDescription}}
...@@ -1056,7 +1056,7 @@ var _templatesIndexHtml = []byte(`<!DOCTYPE html> ...@@ -1056,7 +1056,7 @@ var _templatesIndexHtml = []byte(`<!DOCTYPE html>
<ul> <ul>
{{range $tm := $m.TransMounts}} {{range $tm := $m.TransMounts}}
<li> <li>
<a href="/player/{{$tm.Mount.Path}}" <a href="/player{{$tm.Mount.Path}}"
data-toggle="tooltip" data-delay="300" title="{{$tm.Mount.TranscodeParams.String}}" data-toggle="tooltip" data-delay="300" title="{{$tm.Mount.TranscodeParams.String}}"
>{{$tm.Mount.Path}}</a> >{{$tm.Mount.Path}}</a>
<a href="/{{$tm.Mount.Path}}.m3u">(m3u)</a> <a href="/{{$tm.Mount.Path}}.m3u">(m3u)</a>
...@@ -1122,7 +1122,7 @@ func templatesIndexHtml() (*asset, error) { ...@@ -1122,7 +1122,7 @@ func templatesIndexHtml() (*asset, error) {
return nil, err 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} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<ul> <ul>
{{range $m := .Mounts}} {{range $m := .Mounts}}
<li> <li>
<a href="/player/{{$m.Mount.Path}}" <a href="/player{{$m.Mount.Path}}"
{{if $m.Mount.RelayUrl}} {{if $m.Mount.RelayUrl}}
data-toggle="tooltip" data-delay="300" title="relay of {{$m.Mount.RelayUrl}}" data-toggle="tooltip" data-delay="300" title="relay of {{$m.Mount.RelayUrl}}"
{{else if $m.IcecastMount.GetDescription}} {{else if $m.IcecastMount.GetDescription}}
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<ul> <ul>
{{range $tm := $m.TransMounts}} {{range $tm := $m.TransMounts}}
<li> <li>
<a href="/player/{{$tm.Mount.Path}}" <a href="/player{{$tm.Mount.Path}}"
data-toggle="tooltip" data-delay="300" title="{{$tm.Mount.TranscodeParams.String}}" data-toggle="tooltip" data-delay="300" title="{{$tm.Mount.TranscodeParams.String}}"
>{{$tm.Mount.Path}}</a> >{{$tm.Mount.Path}}</a>
<a href="/{{$tm.Mount.Path}}.m3u">(m3u)</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