legusxyz commited on
Commit
906b9e5
·
verified ·
1 Parent(s): dff0bf1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -9
app.py CHANGED
@@ -1,13 +1,4 @@
1
  from fastapi import FastAPI
2
- from fastapi.middleware.cors import CORSMiddleware
3
-
4
- app.add_middleware(
5
- CORSMiddleware,
6
- allow_origins=["*"], # Allow all origins for simplicity, or specify domains
7
- allow_credentials=True,
8
- allow_methods=["*"],
9
- allow_headers=["*"],
10
- )
11
 
12
  # Define FastAPI app
13
  app = FastAPI()
 
1
  from fastapi import FastAPI
 
 
 
 
 
 
 
 
 
2
 
3
  # Define FastAPI app
4
  app = FastAPI()