Ali2206 commited on
Commit
3fd8659
·
verified ·
1 Parent(s): 24ae345

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ app = FastAPI(title="TxAgent API", version="2.6.0")
10
  # Apply CORS middleware
11
  app.add_middleware(
12
  CORSMiddleware,
13
- allow_origins=["*"],
14
  allow_credentials=True,
15
  allow_methods=["*"],
16
  allow_headers=["*"]
 
10
  # Apply CORS middleware
11
  app.add_middleware(
12
  CORSMiddleware,
13
+ allow_origins=["*"], # Adjust for production (e.g., specific origins)
14
  allow_credentials=True,
15
  allow_methods=["*"],
16
  allow_headers=["*"]