mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2025-06-27 22:42:15 +02:00
Avoid to DDOS the server, querying infinite time per second a blank page is maybe too much, useless and dangerous
This commit is contained in:
@ -50,7 +50,7 @@
|
||||
|
||||
// Wait a bit before pulling viewers counter for the first time
|
||||
setTimeout(() => {
|
||||
refreshViewersCounter({{.Path}}, {{.Cfg.ViewersCounterRefreshPeriod}})
|
||||
refreshViewersCounter("{{.Path}}", {{.Cfg.ViewersCounterRefreshPeriod}})
|
||||
}, 1000)
|
||||
</script>
|
||||
{{end}}
|
Reference in New Issue
Block a user