fix favicon

This commit is contained in:
Jakob Ketterl 2019-05-09 16:10:58 +02:00
parent bd7cd01359
commit 425517d576

View File

@ -14,7 +14,8 @@ class Router(object):
{"route": "/", "controller": IndexController},
{"route": "/status", "controller": StatusController},
{"regex": "/static/(.+)", "controller": AssetsController},
{"route": "/ws/", "controller": WebSocketController}
{"route": "/ws/", "controller": WebSocketController},
{"regex": "(/favicon.ico)", "controller": AssetsController}
]
def find_controller(self, path):
for m in Router.mappings: