diff --git a/conduit-front/src/agent.js b/conduit-front/src/agent.js index e568e1ca35d3b85550f5ab699d12464308d36033..1cfdac7b8080f94c14e4952d0e3a605251c58f81 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 MetalLB -// const API_ROOT = process.env.REACT_APP_API_ROOT || 'http://192.168.1.240/api' +const API_ROOT = process.env.REACT_APP_API_ROOT || 'http://192.168.1.240:80/api' const encode = encodeURIComponent; const responseBody = res => res.body;