Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/bazarr/commit/54b39bf4a4ab07e6425d0012661a769fbf22e602 You should set ROOT_URL correctly, otherwise the web may not work correctly.

Remove bottle debug mode when not executed in pycharm.

pull/222/head
Louis Vézina 7 years ago
parent dd87c1bffe
commit 54b39bf4a4

@ -74,8 +74,11 @@ if get_proxy_settings()[0] != 'None':
from bottle import route, run, template, static_file, request, redirect, response, HTTPError, app, hook
import bottle
bottle.TEMPLATE_PATH.insert(0, os.path.join(os.path.dirname(__file__), '../views/'))
bottle.debug(True)
bottle.TEMPLATES.clear()
if "PYCHARM_HOSTED" in os.environ:
bottle.debug(True)
bottle.TEMPLATES.clear()
else:
bottle.ERROR_PAGE_TEMPLATE = bottle.ERROR_PAGE_TEMPLATE.replace('if DEBUG and', 'if')
from cherrypy.wsgiserver import CherryPyWSGIServer

Loading…
Cancel
Save