Sk4467 commited on
Commit
af077f4
1 Parent(s): 6c96db3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ from fastapi.middleware.cors import CORSMiddleware
14
 
15
  app.add_middleware(
16
  CORSMiddleware,
17
- allow_origins=["http://localhost:3000"], # Allows only requests from your React app
18
  allow_credentials=True,
19
  allow_methods=["*"], # Allows all methods
20
  allow_headers=["*"], # Allows all headers
 
14
 
15
  app.add_middleware(
16
  CORSMiddleware,
17
+ allow_origins=["http://localhost:3000","https://chity-chat-front-vercel.vercel.app"], # Allows only requests from your React app
18
  allow_credentials=True,
19
  allow_methods=["*"], # Allows all methods
20
  allow_headers=["*"], # Allows all headers