feat: remove unnecessary CORS origins

This commit is contained in:
julius 2025-03-03 16:02:44 +01:00
parent 104ec70695
commit 406ea9ffdd
Signed by: julius
GPG Key ID: C80A63E6A5FD7092

@ -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(