diff --git a/conduit-front/src/agent.js b/conduit-front/src/agent.js index cf70f95d6e30e2c0ef05e22d77c7f549d7c370fe..c11a837c1d3723d9fedf25f920ecc4c0abd112a3 100644 --- a/conduit-front/src/agent.js +++ b/conduit-front/src/agent.js @@ -6,7 +6,7 @@ const superagent = superagentPromise(_superagent, global.Promise); //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:30000/api' +const API_ROOT = process.env.REACT_APP_API_ROOT || 'http://localhost:30000/api' const encode = encodeURIComponent; const responseBody = res => res.body;