From 759a77d92db50c3098bbcde3a3e4f404b6b49dd6 Mon Sep 17 00:00:00 2001 From: David Sapiro <115489098+Encord-davids@users.noreply.github.com> Date: Wed, 10 May 2023 10:32:22 +0100 Subject: [PATCH] fix: server cors localhost (#388) --- src/encord_active/server/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/encord_active/server/main.py b/src/encord_active/server/main.py index a795a015b..28e220b3c 100644 --- a/src/encord_active/server/main.py +++ b/src/encord_active/server/main.py @@ -38,7 +38,7 @@ app = FastAPI() -origins = [settings.ALLOWED_ORIGIN] +origins = ["http://localhost:5173", "http://localhost:8501", settings.ALLOWED_ORIGIN] app.add_middleware( CORSMiddleware,