From 6032737d7470145857c8a4e66c885a927d865e12 Mon Sep 17 00:00:00 2001 From: Evgeny Sorokin Date: Wed, 3 Apr 2024 05:25:40 +0300 Subject: fix --- bin/web_kbn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/web_kbn.py b/bin/web_kbn.py index bfa32f6..1165705 100755 --- a/bin/web_kbn.py +++ b/bin/web_kbn.py @@ -446,7 +446,7 @@ async def cams(req: web.Request): hls_pfx = 'https://'+req.headers.get('Host') hls_pfx += re.sub(r'/home/?$', '/ipcam/', os.path.dirname(req.headers.get('X-Real-URI'))) else: - hls_pfx = 'http://'+config.app_config['hls_local_host']+'/ipcam/' + hls_pfx = 'http://'+str(config.app_config['hls_local_host'])+'/ipcam/' js_config = { 'pfx': hls_pfx, -- cgit v1.2.3