api link fix
This commit is contained in:
1 parent
660f2e9d5c
commit
6bea0428f4
1 file changed
+6
-1
+6
-1
@@ -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