From 90a10603c3aa13b7f754afac329552ee06040971 Mon Sep 17 00:00:00 2001 From: M9713 <m9713@student.jamk.fi> Date: Mon, 31 Jan 2022 20:53:29 +0200 Subject: [PATCH] Update agent.js --- conduit-front/src/agent.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conduit-front/src/agent.js b/conduit-front/src/agent.js index 0c5c5ff..e568e1c 100644 --- a/conduit-front/src/agent.js +++ b/conduit-front/src/agent.js @@ -3,10 +3,10 @@ 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' // IP given by MetalLB -const API_ROOT = process.env.REACT_APP_API_ROOT || 'http://192.168.1.240/api' +// const API_ROOT = process.env.REACT_APP_API_ROOT || 'http://192.168.1.240/api' const encode = encodeURIComponent; const responseBody = res => res.body; -- GitLab