From 38bb7a13812019d0a1d4838532fd3b343fba4044 Mon Sep 17 00:00:00 2001 From: M9713 <m9713@student.jamk.fi> Date: Tue, 29 Mar 2022 20:39:45 +0300 Subject: [PATCH] Update agent.js --- conduit-front/src/agent.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conduit-front/src/agent.js b/conduit-front/src/agent.js index 8cec76d..42e37ce 100644 --- a/conduit-front/src/agent.js +++ b/conduit-front/src/agent.js @@ -3,7 +3,8 @@ 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' +const API_ROOT = 'http://vm3733.kaj.pouta.csc.fi:30000/api'; //const API_ROOT = '/api'; const encode = encodeURIComponent; -- GitLab