mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 19:12:26 -05:00
Fixed issue of forbidden error
This commit is contained in:
parent
c9f800128e
commit
29c5c4de4d
@ -3282,7 +3282,7 @@ class Home(IndexHandler):
|
|||||||
# do a hard restart
|
# do a hard restart
|
||||||
if not sickbeard.AUTO_UPDATE:
|
if not sickbeard.AUTO_UPDATE:
|
||||||
threading.Timer(2, sickbeard.invoke_restart, [False]).start()
|
threading.Timer(2, sickbeard.invoke_restart, [False]).start()
|
||||||
|
|
||||||
t = PageTemplate(file="restart_bare.tmpl")
|
t = PageTemplate(file="restart_bare.tmpl")
|
||||||
return _munge(t)
|
return _munge(t)
|
||||||
else:
|
else:
|
||||||
|
@ -114,8 +114,6 @@ def initWebServer(options={}):
|
|||||||
app.add_handlers(".*$", [
|
app.add_handlers(".*$", [
|
||||||
(r'%s/(favicon\.ico)' % options['web_root'], MultiStaticFileHandler,
|
(r'%s/(favicon\.ico)' % options['web_root'], MultiStaticFileHandler,
|
||||||
{'paths': [os.path.join(options['data_root'], 'images/ico/favicon.ico')]}),
|
{'paths': [os.path.join(options['data_root'], 'images/ico/favicon.ico')]}),
|
||||||
(r'%s/(.*)(/?)' % options['web_root'], MultiStaticFileHandler,
|
|
||||||
{'paths': [options['data_root']]}),
|
|
||||||
(r'%s/%s/(.*)(/?)' % (options['web_root'], 'images'), MultiStaticFileHandler,
|
(r'%s/%s/(.*)(/?)' % (options['web_root'], 'images'), MultiStaticFileHandler,
|
||||||
{'paths': [os.path.join(options['data_root'], 'images'),
|
{'paths': [os.path.join(options['data_root'], 'images'),
|
||||||
os.path.join(sickbeard.CACHE_DIR, 'images'),
|
os.path.join(sickbeard.CACHE_DIR, 'images'),
|
||||||
|
Loading…
Reference in New Issue
Block a user