Skip to content

Commit

Permalink
Merge pull request #125 from chrishkchris/patch-6
Browse files Browse the repository at this point in the history
For docker WebAdmin environment: Change the hard-coded host and port back
  • Loading branch information
NLGithubWP committed Aug 4, 2020
2 parents dc09a55 + 460e47e commit 0349d54
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web/src/HTTPconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ REACT_APP_API_POINT_PORT=$ADMIN_EXT_PORT
for local development, no need to source the env.sh or .env.
*/

// const adminHost = process.env.REACT_APP_API_POINT_HOST
// const adminPort = process.env.REACT_APP_API_POINT_PORT
const adminHost = 'ncrs.d2.comp.nus.edu.sg'
const adminPort = '3000'
const adminHost = process.env.REACT_APP_API_POINT_HOST
const adminPort = process.env.REACT_APP_API_POINT_PORT
// const adminHost = 'ncrs.d2.comp.nus.edu.sg'
// const adminPort = '3000'

const HTTPconfig = {
// the client tells server data-type json is actually sent.
Expand Down

0 comments on commit 0349d54

Please sign in to comment.