update backend url for profiles
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div id="app">
|
||||
<nav class="navbar navbar-expand navbar-dark bg-dark">
|
||||
<a href="/" class="navbar-brand">bezKoder</a>
|
||||
<a href="/" class="navbar-brand">Kontor</a>
|
||||
<div class="navbar-nav mr-auto">
|
||||
<li class="nav-item">
|
||||
<router-link to="/home" class="nav-link">
|
||||
|
||||
@@ -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