Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,12 @@ app = FastAPI()
|
|
65 |
# Configure CORS
|
66 |
app.add_middleware(
|
67 |
CORSMiddleware,
|
68 |
-
allow_origins=[
|
|
|
|
|
|
|
|
|
|
|
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=["*"],
|