Updated the API URL and implemented map data display

This commit is contained in:
2026-01-06 23:11:34 +05:30
parent 69f9d49cf1
commit 8c45659363

View File

@@ -119,12 +119,12 @@ const MapScreen: React.FC = () => {
setLoading(true);
const response = await fetch(
'http://128.199.25.149:5000/property-search',
'http://64.227.108.180:5000/property-search',
{
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
location: 'Lucknow, Uttar Pradesh, India',
location: 'Teliarganj',
radius: 500,
}),
}
@@ -214,7 +214,7 @@ const MapScreen: React.FC = () => {
/>
<View style={styles.cardContent}>
<Text style={styles.cardPrice}>
{item.price_display}
{item.price_display}
</Text>
<Text style={styles.cardDetails}>
{item.bedrooms} Beds {item.bathrooms} Baths