diff options
author | Evgeny Sorokin <me@ch1p.io> | 2024-04-03 05:25:40 +0300 |
---|---|---|
committer | Evgeny Sorokin <me@ch1p.io> | 2024-04-03 05:25:40 +0300 |
commit | 6032737d7470145857c8a4e66c885a927d865e12 (patch) | |
tree | 4a527131e94bd4e76114b0d0d80b4ac194ec672f | |
parent | 9327c98e48863dabec92b15f6a1d184e7bcfddb0 (diff) |
fix
-rwxr-xr-x | bin/web_kbn.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, |