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

Update agent.js

parent f976b9c8
No related branches found
No related tags found
No related merge requests found
Pipeline #557191 passed
...@@ -7,8 +7,8 @@ const superagent = superagentPromise(_superagent, global.Promise); ...@@ -7,8 +7,8 @@ const superagent = superagentPromise(_superagent, global.Promise);
//const API_ROOT = 'http://vm3733.kaj.pouta.csc.fi:30000/api'; //const API_ROOT = 'http://vm3733.kaj.pouta.csc.fi:30000/api';
//const API_ROOT = '/api'; //const API_ROOT = '/api';
//const API_ROOT = process.env.REACT_APP_API_ROOT || 'http://backend:3000/api'; //const API_ROOT = process.env.REACT_APP_API_ROOT || 'http://backend:3000/api';
const API_ROOT = process.env.REACT_APP_API_ROOT || 'http://backend:3000/api'; //const API_ROOT = process.env.REACT_APP_API_ROOT || 'http://backend:3000/api';
//conts API_ROOT = 'backend' const API_ROOT = 'backend:3000'
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