There was an error while loading. Please reload this page.
1 parent 274e00d commit 8231d3dCopy full SHA for 8231d3d
agent/run_agent.py
@@ -13,7 +13,7 @@
13
app = FastAPI()
14
app.add_middleware(
15
CORSMiddleware,
16
- allow_origins=["http://localhost:3000","https://learn-coding-with-copilotkit.vercel.app/"],
+ allow_origins=["http://localhost:3000","https://learn-coding-with-copilotkit.vercel.app"],
17
allow_credentials=True,
18
allow_methods=["*"],
19
allow_headers=["*"],
@@ -65,4 +65,4 @@ async def process_request(request: CopilotRequest) -> CopilotResponse:
65
66
if __name__ == "__main__":
67
logger.info("Starting Copilot API server...")
68
- uvicorn.run(app, host="0.0.0.0", port=8000)
+ uvicorn.run(app, host="https://learn-coding-with-copilotkit.onrender.com", port=8000)
0 commit comments