hardik8588 commited on
Commit
15e7e59
·
verified ·
1 Parent(s): fa6c559

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -65,7 +65,12 @@ app = FastAPI()
65
  # Configure CORS
66
  app.add_middleware(
67
  CORSMiddleware,
68
- allow_origins=["https://prototype-2-kappa.vercel.app"],
 
 
 
 
 
69
  allow_credentials=True,
70
  allow_methods=["*"],
71
  allow_headers=["*"],
 
65
  # Configure CORS
66
  app.add_middleware(
67
  CORSMiddleware,
68
+ allow_origins=[
69
+ "https://prototype-2-kappa.vercel.app", # Your Vercel frontend
70
+ "https://hardik8588-real_estate.hf.space", # Your Hugging Face Space
71
+ "http://localhost:5173", # Local dev
72
+ "http://localhost:7860"
73
+ ],
74
  allow_credentials=True,
75
  allow_methods=["*"],
76
  allow_headers=["*"],