From 406ea9ffdd3e1642f68f37e6dc91d4161cf9fdf1 Mon Sep 17 00:00:00 2001 From: julius <julius@0124816.xyz> Date: Mon, 3 Mar 2025 16:02:44 +0100 Subject: [PATCH] feat: remove unnecessary CORS origins --- main.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index 21ff5b7..8ae66d4 100644 --- a/main.py +++ b/main.py @@ -18,10 +18,8 @@ from security import ( app = FastAPI(title="cutt") api_router = APIRouter(prefix="/api") origins = [ - "*", - "http://localhost", - "http://localhost:3000", - "http://localhost:8000", + "https://cutt.0124816.xyz", + "http://localhost:5173", ] app.add_middleware(