fix favicon
This commit is contained in:
parent
bd7cd01359
commit
425517d576
@ -14,7 +14,8 @@ class Router(object):
|
|||||||
{"route": "/", "controller": IndexController},
|
{"route": "/", "controller": IndexController},
|
||||||
{"route": "/status", "controller": StatusController},
|
{"route": "/status", "controller": StatusController},
|
||||||
{"regex": "/static/(.+)", "controller": AssetsController},
|
{"regex": "/static/(.+)", "controller": AssetsController},
|
||||||
{"route": "/ws/", "controller": WebSocketController}
|
{"route": "/ws/", "controller": WebSocketController},
|
||||||
|
{"regex": "(/favicon.ico)", "controller": AssetsController}
|
||||||
]
|
]
|
||||||
def find_controller(self, path):
|
def find_controller(self, path):
|
||||||
for m in Router.mappings:
|
for m in Router.mappings:
|
||||||
|
Loading…
Reference in New Issue
Block a user