fix resource URL

This commit is contained in:
Danny van Kooten 2017-01-06 15:58:29 +01:00
parent df4843e4cc
commit 440a0e5bfa
1 changed files with 1 additions and 1 deletions

View File

@ -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) })
}