diff --git a/agent-registry/populate_sample_data.py b/agent-registry/populate_sample_data.py index 4934f47..29033d4 100644 --- a/agent-registry/populate_sample_data.py +++ b/agent-registry/populate_sample_data.py @@ -121,7 +121,7 @@ def main(): return except Exception as e: print(f"❌ Cannot connect to Agent Registry Service: {str(e)}") - print(" Make sure the service is running on port 9000") + print(" Make sure the service is running on port 9002") return print("✅ Agent Registry Service is running") diff --git a/merchant-backend/app/main.py b/merchant-backend/app/main.py index fac5fec..a7e4593 100644 --- a/merchant-backend/app/main.py +++ b/merchant-backend/app/main.py @@ -53,7 +53,7 @@ async def log_requests(request: Request, call_next): # Configure CORS app.add_middleware( CORSMiddleware, - allow_origins=os.getenv("ALLOWED_ORIGINS", "http://localhost:3000,http://localhost:3001,http://localhost:3001,http://localhost:3003").split(","), # React app URL + Vite dev server + allow_origins=os.getenv("ALLOWED_ORIGINS", "http://localhost:3000,http://localhost:3001,http://localhost:3003").split(","), # React app URL + Vite dev server allow_credentials=True, allow_methods=["*"], allow_headers=["*"],