From 2712d013109f19edc81de7db4489f997e4f8af40 Mon Sep 17 00:00:00 2001 From: M9713 <m9713@student.jamk.fi> Date: Wed, 26 Jan 2022 19:27:14 +0200 Subject: [PATCH] Update agent.js --- conduit-front/src/agent.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/conduit-front/src/agent.js b/conduit-front/src/agent.js index b84a8a2..b13ea4c 100644 --- a/conduit-front/src/agent.js +++ b/conduit-front/src/agent.js @@ -3,8 +3,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 || 'http://192.168.1.240:30000/api'; +const API_ROOT = process.env.REACT_APP_API_ROOT || 'http://vm3733.kaj.pouta.csc.fi:30000/api' const encode = encodeURIComponent; const responseBody = res => res.body; -- GitLab