From 0063fb4615067b0bc580ba9a33fefe27f4228978 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Wed, 25 May 2016 11:36:39 +0200 Subject: [PATCH] Add 127.0.0.1:8080 in allowed CORS --- gns3server/web/web_server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gns3server/web/web_server.py b/gns3server/web/web_server.py index 76594601..366c44e0 100644 --- a/gns3server/web/web_server.py +++ b/gns3server/web/web_server.py @@ -211,6 +211,7 @@ class WebServer: # Allow CORS for this domains cors = aiohttp_cors.setup(app, defaults={ # Default web server for web gui dev + "http://127.0.0.1:8080": aiohttp_cors.ResourceOptions(expose_headers="*", allow_headers="*"), "http://localhost:8080": aiohttp_cors.ResourceOptions(expose_headers="*", allow_headers="*"), "http://gns3.github.io": aiohttp_cors.ResourceOptions(expose_headers="*", allow_headers="*") })