Skip to content

Commit

Permalink
Update agent-property.js
Browse files Browse the repository at this point in the history
  • Loading branch information
RitwikSrivastava authored Jun 17, 2024
1 parent bec614f commit 9b943d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/agent-property/agent-property.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default async function decorate(block) {
block.append(viewToggle, list, map);

try {
const response = await fetch(`https://www.commonmoves.com/bin/bhhs/agentPropertyListingsServlet.${agentId}.json`);
const response = await fetch(`/bin/bhhs/agentPropertyListingsServlet.${agentId}.json`);
data = await response.json();
if (data) {
const [firstProperty] = data.listings.properties;
Expand Down

0 comments on commit 9b943d2

Please sign in to comment.