api link fix
This commit is contained in:
parent
660f2e9d5c
commit
6bea0428f4
@ -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`)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user