diff options
Diffstat (limited to 'module/web/pyload_app.py')
-rw-r--r-- | module/web/pyload_app.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/module/web/pyload_app.py b/module/web/pyload_app.py index 185c773a3..9f3c2413a 100644 --- a/module/web/pyload_app.py +++ b/module/web/pyload_app.py @@ -96,6 +96,12 @@ def serve_template(path): print e return HTTPError(404, "Not Found") +@route('/icons/<path:path>') +def serve_icon(path): + # TODO + return redirect('/static/img/icon.png') + # return static_file(path, root=join("tmp", "icons")) + @route('/favicon.ico') def favicon(): return static_file("favicon.ico", root=join(PROJECT_DIR, "static", "img")) |