update backend url for profiles
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import axios from "axios";
|
||||
import authHeader from "./auth-header";
|
||||
|
||||
const API_URL = "http://localhost:8200/health/";
|
||||
const API_URL = "http://localhost:8200/api/user/";
|
||||
|
||||
class UserService {
|
||||
getPublicContent() {
|
||||
return axios.get(API_URL + "all");
|
||||
return axios.get(API_URL + "profiles");
|
||||
}
|
||||
|
||||
getUserBoard() {
|
||||
|
||||
Reference in New Issue
Block a user