update backend url for profiles
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div id="app">
|
<div id="app">
|
||||||
<nav class="navbar navbar-expand navbar-dark bg-dark">
|
<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">
|
<div class="navbar-nav mr-auto">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<router-link to="/home" class="nav-link">
|
<router-link to="/home" class="nav-link">
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import authHeader from "./auth-header";
|
import authHeader from "./auth-header";
|
||||||
|
|
||||||
const API_URL = "http://localhost:8200/health/";
|
const API_URL = "http://localhost:8200/api/user/";
|
||||||
|
|
||||||
class UserService {
|
class UserService {
|
||||||
getPublicContent() {
|
getPublicContent() {
|
||||||
return axios.get(API_URL + "all");
|
return axios.get(API_URL + "profiles");
|
||||||
}
|
}
|
||||||
|
|
||||||
getUserBoard() {
|
getUserBoard() {
|
||||||
|
|||||||
Reference in New Issue
Block a user