Skip to content

Commit

Permalink
Fix incorrect URL generation
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoboucas committed Oct 18, 2016
1 parent 0d04dd1 commit 5feb94c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class App extends React.Component {
loading: true
})

window.history.pushState(null, null, `/${newProfile}/?period=${this.state.period}`)
window.history.pushState(null, null, `${this.baseUrl}/${newProfile}/?period=${this.state.period}`)

fetch(`${this.baseUrl}/profiles.json`).then(response => {
return response.json()
Expand Down
Loading

0 comments on commit 5feb94c

Please sign in to comment.