FIX PUT CORS for nodes, Fixes: #1434

This commit is contained in:
ziajka committed 2018-10-23 11:09:38 +02:00
1 parent df36d8377d
commit fa5571ced1
2 files changed
+15 -13

No files matched your search

+1
View File
@@ -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()