Re-enable static directory

This commit is contained in:
ziajka 2018-07-02 09:25:39 +02:00
parent ec8cfcd0f9
commit 1cc1ccd511

View File

@ -276,11 +276,11 @@ class WebServer:
m.port_manager = PortManager.instance()
# adding static route
# self._app.router.add_static(
# '/static/',
# path=get_static_dir(),
# name='static'
# )
self._app.router.add_static(
'/static/',
path=get_static_dir(),
name='static'
)
log.info("Starting server on {}:{}".format(self._host, self._port))