diff --git a/conduit-front/src/agent.js b/conduit-front/src/agent.js index b71bfda3a9961522ef5569f9ca46d9c5e03fe63f..b84a8a29304b27ceb8e2a316305cbf1654cc3d68 100644 --- a/conduit-front/src/agent.js +++ b/conduit-front/src/agent.js @@ -4,7 +4,7 @@ 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 || '192.168.1.240:30000/api'; +const API_ROOT = process.env.REACT_APP_API_ROOT || 'http://192.168.1.240:30000/api'; const encode = encodeURIComponent; const responseBody = res => res.body;