Skip to content

Commit

Permalink
Merge pull request #1298 from near/fix-nearcatalog-url
Browse files Browse the repository at this point in the history
fix: update nearcatalog url
  • Loading branch information
gagdiez authored Aug 22, 2024
2 parents 77f8e15 + 1e8237b commit 5a1eae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/catalogSearchApi.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const fetchCatalog = async (query: string) => {
const response = await fetch(`https://nearcatalog.xyz/wp-json/nearcatalog/v1/search?kw=${query}`);
const response = await fetch(`https://indexer.nearcatalog.xyz/wp-json/nearcatalog/v1/search?kw=${query}`);
return await response.json();
};

0 comments on commit 5a1eae1

Please sign in to comment.