From 4279f9d296131ab642f128e4ebfd94f430b14189 Mon Sep 17 00:00:00 2001 From: danilgryaznev Date: Sat, 27 Sep 2025 12:44:25 +0300 Subject: [PATCH] CORS --- backend/app/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/app/main.py b/backend/app/main.py index ebf8f3e..3f64f78 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -11,6 +11,7 @@ from app.db.session import engine from app.models.base import Base app = FastAPI(title=settings.project_name) +origins = ["http://localhost:3000", "http://0.0.0.0:3000"] app.add_middleware( CORSMiddleware,