diff --git a/conduit-front/src/agent.js b/conduit-front/src/agent.js index b13ea4c26348e2b5583e0622eff4edcf9336345d..0c5c5ff71a2c39a65ee974a4cf0647256cd44cfd 100644 --- a/conduit-front/src/agent.js +++ b/conduit-front/src/agent.js @@ -3,7 +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 encode = encodeURIComponent; const responseBody = res => res.body;