mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Fix project path
This commit is contained in:
1 parent
ba91cbaac0
commit
df31b2ad5a
9 files changed
+18
-18
No files matched your search
+2
-1
@@ -151,11 +151,12 @@ def server(request, loop):
|
||||
port = _get_unused_port()
|
||||
host = "localhost"
|
||||
app = web.Application()
|
||||
port_manager = PortManager("127.0.0.1", False)
|
||||
for method, route, handler in Route.get_routes():
|
||||
app.router.add_route(method, route, handler)
|
||||
for module in MODULES:
|
||||
instance = module.instance()
|
||||
instance.port_manager = PortManager("127.0.0.1", False)
|
||||
instance.port_manager = port_manager
|
||||
srv = loop.create_server(app.make_handler(), host, port)
|
||||
srv = loop.run_until_complete(srv)
|
||||
|
||||
|
||||
Reference in new issue
Block a user