Disable static/ dir, Ref: #2532

This commit is contained in:
ziajka 2018-06-29 14:31:19 +02:00
parent dd845eb096
commit ec8cfcd0f9

View File

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