Skip to content

Commit

Permalink
Merge pull request #10 from speedtracker/v1.0.1
Browse files Browse the repository at this point in the history
Fix incorrect URL generation
  • Loading branch information
eduardoboucas committed Oct 19, 2016
2 parents 0d04dd1 + 2948e04 commit e01c214
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# Front-end

> v1.0.1
*Visualisation layer and data store for SpeedTracker*

---
Expand Down
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
8 changes: 4 additions & 4 deletions bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "speedtracker-frontend",
"version": "1.0.0",
"name": "speedtracker",
"version": "1.0.1",
"description": "Website performance monitoring tool",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit e01c214

Please sign in to comment.