Update app API
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* All endpoints return { result, error } (BaseResponse).
|
||||
*/
|
||||
|
||||
const BASE_URL = process.env.REACT_APP_API_URL || '';
|
||||
const BASE_URL = process.env.REACT_APP_API_URL || '/api';
|
||||
|
||||
async function request(method, path, body = null) {
|
||||
const options = {
|
||||
|
||||
Reference in New Issue
Block a user