From 5832bb6b3c2fc355bed0e4ab13965690246ffdcb Mon Sep 17 00:00:00 2001 From: Sam Liu <luu.dat.tham@gmail.com> Date: Mon, 30 Sep 2024 18:34:57 +0700 Subject: [PATCH] update CORS --- backend/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app.py b/backend/app.py index f206360..f64acce 100644 --- a/backend/app.py +++ b/backend/app.py @@ -54,7 +54,7 @@ app = FastAPI( app.add_middleware(GZipMiddleware, minimum_size=1000) if not settings.PRODUCTION: - allowed_origins = ["http://localhost:3000", "http://localhost:5001", "https://stg.samliu.io.vn"] + allowed_origins = ["http://localhost:5001", "https://stg.samliu.io.vn"] app.add_middleware( CORSMiddleware,