mirror of https://github.com/status-im/fathom.git
fix resource URL
This commit is contained in:
parent
df4843e4cc
commit
440a0e5bfa
|
@ -33,7 +33,7 @@ class Pageviews extends Component {
|
|||
const after = before - ( period * dayInSeconds );
|
||||
this.setState({ loading: true })
|
||||
|
||||
Client.request(`/pageviews?before=${before}&after=${after}`)
|
||||
Client.request(`pageviews?before=${before}&after=${after}`)
|
||||
.then((d) => { this.setState({ loading: false, records: d })})
|
||||
.catch((e) => { console.log(e) })
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue