yakine commited on
Commit
d0873c6
·
verified ·
1 Parent(s): 636399f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ app.add_middleware(
13
  CORSMiddleware,
14
  allow_origins=["*"], # In production, restrict this to your frontend URL
15
  allow_credentials=True,
16
- allow_methods=["*"],
17
  allow_headers=["*"],
18
  )
19
 
 
13
  CORSMiddleware,
14
  allow_origins=["*"], # In production, restrict this to your frontend URL
15
  allow_credentials=True,
16
+ allow_methods=["POST"],
17
  allow_headers=["*"],
18
  )
19