diff --git a/src/FilterLists.Web/ClientApp/components/Home.tsx b/src/FilterLists.Web/ClientApp/components/Home.tsx index c00bfa6cc..2803da4b8 100644 --- a/src/FilterLists.Web/ClientApp/components/Home.tsx +++ b/src/FilterLists.Web/ClientApp/components/Home.tsx @@ -17,7 +17,7 @@ export class Home extends React.Component, IFilterListsS filterLists: [], loading: true }; - fetch("https://api.filterlists.com/v1/lists") + fetch("https://filterlists.com/api/v1/lists") .then(response => response.json() as Promise) .then(data => { this.setState({ diff --git a/src/FilterLists.Web/ClientApp/components/ListDetailsModal.tsx b/src/FilterLists.Web/ClientApp/components/ListDetailsModal.tsx index 52cfcbac8..703ce70dd 100644 --- a/src/FilterLists.Web/ClientApp/components/ListDetailsModal.tsx +++ b/src/FilterLists.Web/ClientApp/components/ListDetailsModal.tsx @@ -22,7 +22,7 @@ export default class ListDetailsModal extends React.Component { } openModal() { - fetch(`https://api.filterlists.com/v1/lists/${this.state.listId}`) + fetch(`https://filterlists.com/api/v1/lists/${this.state.listId}`) .then(response => response.json() as Promise) .then(data => { this.setState({