From eb6ee976a6f03b1ff8afb20d4f5920dc6c2463e8 Mon Sep 17 00:00:00 2001 From: M9713 <m9713@student.jamk.fi> Date: Wed, 26 Jan 2022 19:00:45 +0200 Subject: [PATCH] Update agent.js --- conduit-front/src/agent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conduit-front/src/agent.js b/conduit-front/src/agent.js index b71bfda..b84a8a2 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; -- GitLab