From a406535815edd315b65762fd212aed1b7370c2b3 Mon Sep 17 00:00:00 2001 From: AutonetSellCar Deploy Date: Wed, 31 Dec 2025 15:32:10 +0900 Subject: [PATCH] fix: Add staging URLs to CORS origins MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- backend/app/main.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/app/main.py b/backend/app/main.py index efdfe4b..b766887 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -166,8 +166,10 @@ app.add_middleware( "http://localhost:3000", "http://127.0.0.1:3000", "http://localhost:8000", - "http://192.168.0.202:3000", # Local network - "https://autonetsellcar.com", # Production + "http://192.168.0.202:3000", # Production + "http://192.168.0.202:3001", # Staging + "http://192.168.0.202:8001", # Staging backend + "https://autonetsellcar.com", # Production domain "http://autonetsellcar.com", # Production (HTTP redirect) ], allow_credentials=True,