dixisouls commited on
Commit
b90a0f7
·
1 Parent(s): 90dd904

Changed CORS

Browse files
Files changed (1) hide show
  1. 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=["*"], # Allow all 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=["*"],