ryan33121 commited on
Commit
1b74766
·
verified ·
1 Parent(s): 5038f49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ app = FastAPI()
16
  app.add_middleware(
17
  CORSMiddleware,
18
  allow_origins=["*"], # Permits connections from any domain origin
19
- allow_credentials=True,
20
  allow_methods=["*"], # Permits all HTTP methods (GET, POST, OPTIONS, etc.)
21
  allow_headers=["*"], # Permits all network headers
22
  )
 
16
  app.add_middleware(
17
  CORSMiddleware,
18
  allow_origins=["*"], # Permits connections from any domain origin
19
+ allow_credentials=False,
20
  allow_methods=["*"], # Permits all HTTP methods (GET, POST, OPTIONS, etc.)
21
  allow_headers=["*"], # Permits all network headers
22
  )