summaryrefslogtreecommitdiff
path: root/localwebsite/handlers/MiscHandler.php
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-04-22 22:20:35 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-04-22 22:20:35 +0300
commite42cedfeb446a6e3e48eb206b891aac9936eba51 (patch)
tree8718c511815f5fc96839ade96085abea0eeb09f4 /localwebsite/handlers/MiscHandler.php
parent75ab5f751588bf8de41bf907089f4e8977463d3c (diff)
lws: store hls.js locally
Diffstat (limited to 'localwebsite/handlers/MiscHandler.php')
-rw-r--r--localwebsite/handlers/MiscHandler.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/localwebsite/handlers/MiscHandler.php b/localwebsite/handlers/MiscHandler.php
index c6cd3e5..e5f09b0 100644
--- a/localwebsite/handlers/MiscHandler.php
+++ b/localwebsite/handlers/MiscHandler.php
@@ -80,7 +80,8 @@ class MiscHandler extends RequestHandler
if ($hls_debug)
$hls_opts['debug'] = true;
- $this->tpl->add_external_static('js', 'https://cdn.jsdelivr.net/npm/hls.js@latest');
+ $this->tpl->add_static('hls.js');
+ // $this->tpl->add_external_static('js', 'https://cdn.jsdelivr.net/npm/hls.js@latest');
$hls_host = config::get('cam_hls_host');
$hls_proto = config::get('cam_hls_proto');