mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
parent
cf19794b0d
commit
deb2df4eaf
2 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ export class Home extends React.Component<RouteComponentProps<{}>, IFilterListsS
|
|||
filterLists: [],
|
||||
loading: true
|
||||
};
|
||||
fetch("https://api.filterlists.com/v1/lists")
|
||||
fetch("https://filterlists.com/api/v1/lists")
|
||||
.then(response => response.json() as Promise<IFilterListSummaryDto[]>)
|
||||
.then(data => {
|
||||
this.setState({
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ export default class ListDetailsModal extends React.Component<any, any> {
|
|||
}
|
||||
|
||||
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<IFilterListDetailsDto[]>)
|
||||
.then(data => {
|
||||
this.setState({
|
||||
|
|
|
|||
Loading…
Reference in a new issue