sahanes commited on
Commit
151bb8d
·
verified ·
1 Parent(s): ea973db

Update app/main.py

Browse files
Files changed (1) hide show
  1. app/main.py +2 -1
app/main.py CHANGED
@@ -16,7 +16,8 @@ app = FastAPI()
16
  # Add CORS middleware
17
  app.add_middleware(
18
  CORSMiddleware,
19
- allow_origins=["*"],
 
20
  allow_credentials=True,
21
  allow_methods=["*"],
22
  allow_headers=["*"],
 
16
  # Add CORS middleware
17
  app.add_middleware(
18
  CORSMiddleware,
19
+ # allow_origins=["*"],
20
+ allow_origins=["https://jubilant-barnacle.vercel.app"],
21
  allow_credentials=True,
22
  allow_methods=["*"],
23
  allow_headers=["*"],