From 90997b51e068f85b6e2fe4bfabff39125bc615a2 Mon Sep 17 00:00:00 2001 From: charlyjazz Date: Sun, 10 Dec 2023 15:15:10 -0300 Subject: [PATCH] allow all cors just for now --- chat-microservice/app/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chat-microservice/app/main.py b/chat-microservice/app/main.py index 22f3106..18e49b6 100644 --- a/chat-microservice/app/main.py +++ b/chat-microservice/app/main.py @@ -21,7 +21,8 @@ async def shutdown_event(): def create_application() -> FastAPI: application = FastAPI(title=settings.PROJECT_NAME) - origins = [ "http://localhost:3000", "http://34.69.26.50:3000" ] + # origins = [ "http://localhost:3000", "http://34.69.26.50:3000" ] + origins = [ "*" ] application.add_middleware( CORSMiddleware, allow_origins=origins,