add production endpoints to react config

This commit is contained in:
Sorrel Bri 2020-01-09 11:41:24 -08:00
parent ef1ef00109
commit d8ecb3abb6
2 changed files with 13 additions and 2 deletions

11
deployment.md Normal file
View file

@ -0,0 +1,11 @@
`hk-api=https://git.heroku.com/node-go-api.git`
`hk-play=https://git.heroku.com/play-node-go.git`
### Server
`$ git subtree push --prefix server hk-api master`
### React
`$ git push hk-play master`
### TODO
restructure React to subdirectory for similar deployment

View file

@ -1,6 +1,6 @@
const production = {
apiAddress: null,
endpoint: null
apiAddress: 'https://node-go-api.herokuapp.com',
endpoint: 'https://play-node-go.herokuapp.com'
}
const development = {