From 77ca3d44cdd890cb2cf99d9bee6435feaba3d387 Mon Sep 17 00:00:00 2001 From: M9713 <m9713@student.jamk.fi> Date: Tue, 1 Feb 2022 21:03:39 +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 c11a837..e8c009d 100644 --- a/conduit-front/src/agent.js +++ b/conduit-front/src/agent.js @@ -6,7 +6,7 @@ const superagent = superagentPromise(_superagent, global.Promise); //const API_ROOT = process.env.REACT_APP_API_ROOT || 'http://vm3733.kaj.pouta.csc.fi:30000/api' // IP given by Kubernetes cluster -const API_ROOT = process.env.REACT_APP_API_ROOT || 'http://localhost:30000/api' +const API_ROOT = process.env.REACT_APP_API_ROOT || 'http://10.152.183.51:3000/api' const encode = encodeURIComponent; const responseBody = res => res.body; -- GitLab