большая доработка чистоты кода в части бек

This commit is contained in:
Kayashov.SM
2025-08-22 03:18:30 +04:00
parent 488638885c
commit 198be069b4
37 changed files with 481 additions and 609 deletions

View File

@@ -5,7 +5,7 @@ class UserClient {
async getMe() {
try{
let url = requests.users.getMe
let url = requests.auth.getMe
const response = await api().get(url);
return {data: response.data}
} catch (e) {

View File

@@ -1,7 +1,7 @@
import axios from "axios";
import {tokenUtil} from "../TokenUtil";
const host = "localhost:8080"; //дебаг вместе с беком
const host = "localhost:8081"; //дебаг вместе с беком
// const host = "192.168.1.100:8091"; //дебаг фронта
// const host = "bar.kayashov.keenetic.pro"; //прод
export const api = () => {