Skip to content

Commit

Permalink
Merge pull request #3 from eabrigham/dev
Browse files Browse the repository at this point in the history
Dev added production api url to config file
  • Loading branch information
eabrigham authored Sep 7, 2018
2 parents c24b9ec + 703af17 commit 1044716
Show file tree
Hide file tree
Showing 3 changed files with 125 additions and 2 deletions.
117 changes: 117 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "journal-client",
"version": "0.1.0",
"private": true,
"homepage": "http://eabrigham.github.io/journal-client",
"dependencies": {
"axios": "^0.18.0",
"cors": "^2.8.4",
Expand All @@ -13,6 +14,11 @@
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
"eject": "react-scripts eject",
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
},
"devDependencies": {
"gh-pages": "^1.2.0"
}
}
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
let apiUrl

const apiUrls = {
production: '', // fill in production heroku url
production: 'https://nameless-thicket-47979.herokuapp.com',
development: 'http://localhost:4741'
}

Expand Down

0 comments on commit 1044716

Please sign in to comment.