fix: Add staging URLs to CORS origins

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
AutonetSellCar Deploy
2025-12-31 15:32:10 +09:00
parent c9fd7611a7
commit a406535815

View File

@@ -166,8 +166,10 @@ app.add_middleware(
"http://localhost:3000", "http://localhost:3000",
"http://127.0.0.1:3000", "http://127.0.0.1:3000",
"http://localhost:8000", "http://localhost:8000",
"http://192.168.0.202:3000", # Local network "http://192.168.0.202:3000", # Production
"https://autonetsellcar.com", # 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) "http://autonetsellcar.com", # Production (HTTP redirect)
], ],
allow_credentials=True, allow_credentials=True,