mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
FIX PUT CORS for nodes, Fixes: #1434
This commit is contained in:
1 parent
df36d8377d
commit
fa5571ced1
2 files changed
+15
-13
No files matched your search
@@ -277,6 +277,7 @@ class WebServer:
|
||||
for method, route, handler in Route.get_routes():
|
||||
log.debug("Adding route: {} {}".format(method, route))
|
||||
cors.add(self._app.router.add_route(method, route, handler))
|
||||
|
||||
for module in MODULES:
|
||||
log.debug("Loading module {}".format(module.__name__))
|
||||
m = module.instance()
|
||||
|
||||
Reference in new issue
Block a user