add production endpoints to react config
This commit is contained in:
parent
ef1ef00109
commit
d8ecb3abb6
2 changed files with 13 additions and 2 deletions
11
deployment.md
Normal file
11
deployment.md
Normal 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
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue