diff --git a/conduit-front/src/agent.js b/conduit-front/src/agent.js index 559e19ba7100f7ae70b22487ba4c3cef57678e8b..69ec9cf02d42b5b48c46c16ac4ae796f8c1df7b8 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:80/api' const encode = encodeURIComponent; const responseBody = res => res.body;