Skip to content

Commit

Permalink
For docker WebAdmin environment: Change the hardcoded host and port back
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishkchris committed Aug 4, 2020
1 parent dc09a55 commit 460e47e
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 460e47e

Please sign in to comment.