fix
This commit is contained in:
parent
9327c98e48
commit
6032737d74
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user