From e618c597c543f116badefe151c780d875a58dc87 Mon Sep 17 00:00:00 2001
From: M9713 <m9713@student.jamk.fi>
Date: Tue, 1 Feb 2022 21:31:42 +0200
Subject: [PATCH] Update agent.js

---
 conduit-front/src/agent.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/conduit-front/src/agent.js b/conduit-front/src/agent.js
index b13ea4c..d5862ab 100644
--- a/conduit-front/src/agent.js
+++ b/conduit-front/src/agent.js
@@ -3,7 +3,9 @@ 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://10.152.183.51:3000/api';
 
 const encode = encodeURIComponent;
 const responseBody = res => res.body;
-- 
GitLab