From 73fa85b9f18a41e88574bc61d63e46f32049ca01 Mon Sep 17 00:00:00 2001 From: Sam Liu Date: Mon, 30 Sep 2024 18:42:25 +0700 Subject: [PATCH] CORS --- backend/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app.py b/backend/app.py index f64acce..06a64c6 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:5001", "https://stg.samliu.io.vn"] + allowed_origins = ["http://localhost:5001", "https://stg.samliu.io.vn", "https://stg-be.samliu.io.vn"] app.add_middleware( CORSMiddleware,