From e42cedfeb446a6e3e48eb206b891aac9936eba51 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sat, 22 Apr 2023 22:20:35 +0300 Subject: lws: store hls.js locally --- localwebsite/handlers/MiscHandler.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'localwebsite/handlers/MiscHandler.php') 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'); -- cgit v1.2.3