api link fix
This commit is contained in:
@@ -1,6 +1,11 @@
|
|||||||
import {getConfigValue} from "@brojs/cli";
|
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`)
|
// fetch(`${BASE_API_URL}/books/list`)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user