Spaces:
Sleeping
Sleeping
Revert to wild card CORS
Browse files- app/main.py +1 -1
app/main.py
CHANGED
@@ -20,7 +20,7 @@ app = FastAPI()
|
|
20 |
# Set all origins to wildcard for simplicity, but we should limit this in production
|
21 |
app.add_middleware(
|
22 |
CORSMiddleware,
|
23 |
-
allow_origins=["
|
24 |
allow_credentials=True,
|
25 |
allow_methods=["*"],
|
26 |
allow_headers=["*"],
|
|
|
20 |
# Set all origins to wildcard for simplicity, but we should limit this in production
|
21 |
app.add_middleware(
|
22 |
CORSMiddleware,
|
23 |
+
allow_origins=["*"],
|
24 |
allow_credentials=True,
|
25 |
allow_methods=["*"],
|
26 |
allow_headers=["*"],
|