This commit is contained in:
Nikolai Petukhov
2024-10-10 12:01:49 +03:00
parent dd10b080e8
commit 6096bdc4cb
3 changed files with 88 additions and 11 deletions

View File

@@ -1,10 +1,10 @@
import {getConfigValue} from "@brojs/cli";
const LOCAL = "http://localhost:8099";
const DEV = "";
const LOCAL = "http://localhost:8099" + getConfigValue("enterfront.api");
const DEV = "https://dev.bro-js.ru/ms/epja-2024-01/enterfront";
export const BASE_API_URL = LOCAL + getConfigValue("enterfront.api") + "/enterfront";
export const BASE_API_URL = DEV;
// fetch(`${BASE_API_URL}/books/list`)

View File

@@ -1,8 +0,0 @@
export default class Interlocutor {
constructor(id, name) {
this.name = name;
this.id = id;
}
static name;
static id;
}