Changed CORS
Browse files- app/main.py +1 -1
app/main.py
CHANGED
@@ -42,7 +42,7 @@ app = FastAPI(
|
|
42 |
# Add CORS middleware with more permissive settings for Hugging Face Spaces
|
43 |
app.add_middleware(
|
44 |
CORSMiddleware,
|
45 |
-
allow_origins=["
|
46 |
allow_credentials=True,
|
47 |
allow_methods=["*"],
|
48 |
allow_headers=["*"],
|
|
|
42 |
# Add CORS middleware with more permissive settings for Hugging Face Spaces
|
43 |
app.add_middleware(
|
44 |
CORSMiddleware,
|
45 |
+
allow_origins=["https://vizwiz.vercel.app/"], # Allow all origins
|
46 |
allow_credentials=True,
|
47 |
allow_methods=["*"],
|
48 |
allow_headers=["*"],
|