Skip to content

Commit

Permalink
Update API URL in dataFetcher.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
WCY-dt committed Apr 29, 2024
1 parent 9edead1 commit 89e776c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/dataFetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export function fetchAndFilterData(
setClusters: (value: ClusterProps[]) => void
) {
const api = "https://api.mind.ch3nyang.top";
let url = `${api}/linkcard?collection=${dataKey}`;
let url = `${api}/card?collection=${dataKey}`;
if (selectedCategory) {
url += `&category=${selectedCategory}`;
}
Expand Down

0 comments on commit 89e776c

Please sign in to comment.