From 873c9ba0b2fd48d776f6d0ed749b55febe5ebfd2 Mon Sep 17 00:00:00 2001 From: Alex Muszynski Date: Tue, 24 Jun 2025 22:25:38 -0400 Subject: [PATCH] feat: expand cors --- backend/app/main.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/backend/app/main.py b/backend/app/main.py index 9c7ab71..c276cf1 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -14,7 +14,14 @@ app = FastAPI() app.add_middleware( CORSMiddleware, - allow_origins=["http://localhost:3000", "https://localhost:3000"], + allow_origins=[ + "http://localhost:3000", + "http://192.168.125.129:3000", + "https://192.168.125.129:3000", + "http://192.168.125.129:8000", + "https://192.168.125.129:8000", + "https://site.muszyn.dev", + ], allow_credentials=True, allow_methods=["*"], allow_headers=["*"],