add production endpoints to react config
This commit is contained in:
parent
dbfe5c13d0
commit
8912db80d7
2 changed files with 13 additions and 2 deletions
11
packages/play-node-go/deployment.md
Normal file
11
packages/play-node-go/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