From: LeBomb Date: Mon, 5 Dec 2016 23:21:45 +0000 (+0100) Subject: #378 Relative path instead of absolute path useful for reverse proxying X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=f26011d0ca7240a8618a949fb87710aedbc909d9;p=motioneye-debian #378 Relative path instead of absolute path useful for reverse proxying #378 --- diff --git a/motioneye/server.py b/motioneye/server.py index 6aded3d..62a8fcc 100644 --- a/motioneye/server.py +++ b/motioneye/server.py @@ -385,7 +385,7 @@ def run(): smbctl.start() logging.info('smb mounts started') - template.add_context('static_path', settings.BASE_PATH + '/static/') + template.add_context('static_path', 'static/') template.add_context('base_path', settings.BASE_PATH + '/') application = Application(handler_mapping, debug=False, log_function=_log_request,