From 3fec7662d2b7ca35d3261a721d8e33e7eec567f6 Mon Sep 17 00:00:00 2001 From: Mohamed Marzuq Date: Sat, 29 Jun 2024 22:56:58 +0530 Subject: [PATCH] fix: cors error Added two more origins which is the actual port of the front-end url for UI so that the whole application can work out of the box. --- devika.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devika.py b/devika.py index 961b792a..f73ad1ec 100644 --- a/devika.py +++ b/devika.py @@ -30,6 +30,8 @@ [ "https://localhost:3000", "http://localhost:3000", + "https://localhost:3001", + "https://localhost:3001", ]}}) app.register_blueprint(project_bp) socketio.init_app(app)