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