mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Check for / in http root setting
This commit is contained in:
parent
1e10ddec99
commit
92a3589588
1 changed files with 2 additions and 2 deletions
|
@ -3493,7 +3493,7 @@ class WebInterface(object):
|
||||||
quote = self.random_arnold_quotes()
|
quote = self.random_arnold_quotes()
|
||||||
plexpy.SIGNAL = signal
|
plexpy.SIGNAL = signal
|
||||||
|
|
||||||
if plexpy.CONFIG.HTTP_ROOT:
|
if plexpy.CONFIG.HTTP_ROOT.strip('/'):
|
||||||
new_http_root = '/' + plexpy.CONFIG.HTTP_ROOT.strip('/') + '/'
|
new_http_root = '/' + plexpy.CONFIG.HTTP_ROOT.strip('/') + '/'
|
||||||
else:
|
else:
|
||||||
new_http_root = '/'
|
new_http_root = '/'
|
||||||
|
@ -4795,7 +4795,7 @@ class WebInterface(object):
|
||||||
else:
|
else:
|
||||||
port = ''
|
port = ''
|
||||||
|
|
||||||
if plexpy.CONFIG.HTTP_ROOT:
|
if plexpy.CONFIG.HTTP_ROOT.strip('/'):
|
||||||
root = '/' + plexpy.CONFIG.HTTP_ROOT.strip('/')
|
root = '/' + plexpy.CONFIG.HTTP_ROOT.strip('/')
|
||||||
else:
|
else:
|
||||||
root = ''
|
root = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue