Update app.py
Browse files
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 |
|