From: Calin Crisan Date: Thu, 24 Nov 2016 15:48:02 +0000 (+0200) Subject: fixed manifest.json location when using base_path X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=a719c672f936e780dc086a435188c40f87e24802;p=motioneye-debian fixed manifest.json location when using base_path --- diff --git a/motioneye/server.py b/motioneye/server.py index 8ae5eb0..6aded3d 100644 --- a/motioneye/server.py +++ b/motioneye/server.py @@ -386,6 +386,7 @@ def run(): logging.info('smb mounts started') template.add_context('static_path', settings.BASE_PATH + '/static/') + template.add_context('base_path', settings.BASE_PATH + '/') application = Application(handler_mapping, debug=False, log_function=_log_request, static_path=settings.STATIC_PATH, static_url_prefix='/static/') diff --git a/motioneye/templates/base.html b/motioneye/templates/base.html index 8386a85..252230d 100644 --- a/motioneye/templates/base.html +++ b/motioneye/templates/base.html @@ -15,7 +15,7 @@ - + {% endblock %} {% block script %}