Skip to content
Snippets Groups Projects
Commit 402a9f98 authored by M9713's avatar M9713
Browse files

Update agent.js

parent 899592fd
No related branches found
No related tags found
No related merge requests found
Pipeline #524334 passed
...@@ -3,7 +3,10 @@ import _superagent from 'superagent'; ...@@ -3,7 +3,10 @@ import _superagent from 'superagent';
const superagent = superagentPromise(_superagent, global.Promise); 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 encode = encodeURIComponent; const encode = encodeURIComponent;
const responseBody = res => res.body; const responseBody = res => res.body;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment