summaryrefslogtreecommitdiff
path: root/localwebsite/handlers
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-05-27 01:13:40 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-05-27 01:13:40 +0300
commitf1276e23d8ccf873c4c95f1e01db7f394e82c868 (patch)
treed2f64839262c24d46579ca55f60c4a6e275f5dda /localwebsite/handlers
parentcf0b9f036b3e3eb218610e7eeececda1320d9f50 (diff)
change auth cookie and some related hls stuff
Diffstat (limited to 'localwebsite/handlers')
-rw-r--r--localwebsite/handlers/MiscHandler.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/localwebsite/handlers/MiscHandler.php b/localwebsite/handlers/MiscHandler.php
index b7c312a..4d2e20a 100644
--- a/localwebsite/handlers/MiscHandler.php
+++ b/localwebsite/handlers/MiscHandler.php
@@ -67,6 +67,10 @@ class MiscHandler extends RequestHandler
$hls_host = config::get('cam_hls_host');
$hls_proto = config::get('cam_hls_proto');
+ $hls_key = config::get('cam_hls_access_key');
+ if ($hls_key)
+ setcookie_safe('hls_key', $hls_key);
+
$this->tpl->set([
'hls_host' => $hls_host,
'hls_proto' => $hls_proto,