Do0rMaMu commited on
Commit
1907b0c
·
verified ·
1 Parent(s): b18c7be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -9,10 +9,9 @@ app = FastAPI()
9
 
10
  app.add_middleware(
11
  CORSMiddleware,
12
- allow_origins=["*"], # Allows all origins
13
- allow_credentials=True,
14
- allow_methods=["*"], # Allows all methods
15
- allow_headers=["*"], # Allows all headers
16
  )
17
 
18
  class Box:
 
9
 
10
  app.add_middleware(
11
  CORSMiddleware,
12
+ allow_origins=["*"], # This allows all domains
13
+ allow_methods=["*"], # This allows all methods
14
+ allow_headers=["*"], # This allows all headers
 
15
  )
16
 
17
  class Box: