This commit is contained in:
Louis Vézina 2017-10-21 21:25:31 -04:00
parent 4599811f81
commit c1fccc1d1f
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ configure_logging()
@route(base_url + '/static/:path#.+#', name='static')
def static(path):
return static_file(path, root='static')
return static_file(path, root=os.path.join(os.path.dirname(__file__), 'static'))
@route(base_url + '/image_proxy/<url:path>', method='GET')
def image_proxy(url):