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 = 'https://'+req.headers.get('Host')
|
||||||
hls_pfx += re.sub(r'/home/?$', '/ipcam/', os.path.dirname(req.headers.get('X-Real-URI')))
|
hls_pfx += re.sub(r'/home/?$', '/ipcam/', os.path.dirname(req.headers.get('X-Real-URI')))
|
||||||
else:
|
else:
|
||||||
hls_pfx = 'http://'+config.app_config['hls_local_host']+'/ipcam/'
|
hls_pfx = 'http://'+str(config.app_config['hls_local_host'])+'/ipcam/'
|
||||||
|
|
||||||
js_config = {
|
js_config = {
|
||||||
'pfx': hls_pfx,
|
'pfx': hls_pfx,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user