1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-27 14:42:05 +02:00

Remove old JS

This commit is contained in:
Alexandre Iooss
2020-10-20 21:45:26 +02:00
parent 11231ceb84
commit c88f473ec0
7 changed files with 106 additions and 114 deletions

View File

@ -34,14 +34,11 @@
{{end}}
</div>
{{if .WidgetURL}}<script src="/static/js/sideWidget.js"></script>{{end}}
<script src="/static/js/videoQuality.js"></script>
<script src="/static/js/viewer.js"></script>
<script src="/static/js/viewersCounter.js"></script>
<script type="module" src="/static/js/main.js"></script>
<script>
const stunServers = [
{{range $id, $value := .Cfg.STUNServers}}
'{{$value}}',
"{{$value}}",
{{end}}
]
startPeerConnection()
@ -51,4 +48,4 @@
refreshViewersCounter("{{.Path}}", {{.Cfg.ViewersCounterRefreshPeriod}})
}, 1000)
</script>
{{end}}
{{end}}