Skip to content

Commit

Permalink
fixed reset url
Browse files Browse the repository at this point in the history
  • Loading branch information
joeblank authored Aug 30, 2017
1 parent 5928015 commit 478b8c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ byYear() {
// RESET DATA - DON'T CHANGE
// ==============================================
resetData(dataToReset) {
axios.get('/api/' + dataToReset + '/reset')
axios.get('https://joes-autos.herokuapp.com/api/' + dataToReset + '/reset')
.then( res => {
if (dataToReset == 'vehicles') {
this.setState({
Expand Down

0 comments on commit 478b8c0

Please sign in to comment.