api link fix

This commit is contained in:
Nikolai Petukhov 2024-10-03 21:26:02 +03:00
parent 660f2e9d5c
commit 6bea0428f4

View File

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