drrobot9 commited on
Commit
549f7cb
·
verified ·
1 Parent(s): 30c81b8

Update app/main.py

Browse files
Files changed (1) hide show
  1. app/main.py +0 -7
app/main.py CHANGED
@@ -37,13 +37,6 @@ app = FastAPI(
37
  redoc_url="/redoc",
38
  )
39
 
40
- app.add_middleware(
41
- CORSMiddleware,
42
- allow_origins=getattr(config, "ALLOWED_ORIGINS", ["*"]),
43
- allow_credentials=True,
44
- allow_methods=["*"],
45
- allow_headers=["*"],
46
- )
47
 
48
 
49
 
 
37
  redoc_url="/redoc",
38
  )
39
 
 
 
 
 
 
 
 
40
 
41
 
42