Jaita commited on
Commit
bd5225f
·
verified ·
1 Parent(s): ace2d6c

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -28,7 +28,7 @@ app = FastAPI()
28
 
29
  app.add_middleware(
30
  CORSMiddleware,
31
- allow_origins=["https://jaita-chatbot-react-frontend-v1.hf.space"],
32
  allow_credentials=True,
33
  allow_methods=["*"],
34
  allow_headers=["*"],
 
28
 
29
  app.add_middleware(
30
  CORSMiddleware,
31
+ allow_origins=["https://jaita-chatbot-react-frontend-v1.hf.space","https://jaita-chatbot-fastapi-backend.hf.space/chat"],
32
  allow_credentials=True,
33
  allow_methods=["*"],
34
  allow_headers=["*"],