diff --git a/conduit-front/src/agent.js b/conduit-front/src/agent.js index 69ec9cf02d42b5b48c46c16ac4ae796f8c1df7b8..cf70f95d6e30e2c0ef05e22d77c7f549d7c370fe 100644 --- a/conduit-front/src/agent.js +++ b/conduit-front/src/agent.js @@ -3,10 +3,10 @@ import _superagent from 'superagent'; const superagent = superagentPromise(_superagent, global.Promise); -const API_ROOT = process.env.REACT_APP_API_ROOT || 'http://vm3733.kaj.pouta.csc.fi:30000/api' +//const API_ROOT = process.env.REACT_APP_API_ROOT || 'http://vm3733.kaj.pouta.csc.fi:30000/api' // IP given by Kubernetes cluster -// const API_ROOT = process.env.REACT_APP_API_ROOT || 'http://10.152.183.51:80/api' +const API_ROOT = process.env.REACT_APP_API_ROOT || 'http://10.152.183.51:30000/api' const encode = encodeURIComponent; const responseBody = res => res.body;