mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-12 19:38:57 +00:00
Disable static directory. Ref https://github.com/GNS3/gns3-gui/issues/2558.
This commit is contained in:
parent
ef4db112f1
commit
6822ff65a2
@ -278,11 +278,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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user