Spaces:
Running
Running
Update app.py
Browse files
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=
|
| 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 |
)
|