From ec8cfcd0f9af0a93af64d75cf6b25da2cd433454 Mon Sep 17 00:00:00 2001 From: ziajka Date: Fri, 29 Jun 2018 14:31:19 +0200 Subject: [PATCH] Disable static/ dir, Ref: #2532 --- gns3server/web/web_server.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gns3server/web/web_server.py b/gns3server/web/web_server.py index 5c9b3248..e26e1e36 100644 --- a/gns3server/web/web_server.py +++ b/gns3server/web/web_server.py @@ -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))