diff --git a/front-react/src/agent.js b/front-react/src/agent.js index 93fb13cfcd7db8e9bc72f785a84945c29c63b0ad..5ca1133421b33f2dfdfac1750409d1ccbdd07051 100644 --- a/front-react/src/agent.js +++ b/front-react/src/agent.js @@ -3,7 +3,7 @@ import _superagent from 'superagent'; const superagent = superagentPromise(_superagent, global.Promise); -const API_ROOT = '/api'; +const API_ROOT = 'http://localhost:3000/api'; const encode = encodeURIComponent; const responseBody = res => res.body;