From 1070ce2d6a55c797880176e40cb156770c148bc4 Mon Sep 17 00:00:00 2001 From: M9713 <m9713@student.jamk.fi> Date: Tue, 1 Feb 2022 20:23: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 e8c009d..cf70f95 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://10.152.183.51:3000/api' +const API_ROOT = process.env.REACT_APP_API_ROOT || 'http://10.152.183.51:30000/api' const encode = encodeURIComponent; const responseBody = res => res.body; -- GitLab