done
This commit is contained in:
@@ -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`)
|
||||
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
export default class Interlocutor {
|
||||
constructor(id, name) {
|
||||
this.name = name;
|
||||
this.id = id;
|
||||
}
|
||||
static name;
|
||||
static id;
|
||||
}
|
||||
Reference in New Issue
Block a user