diff --git a/src/backend/api.js b/src/backend/api.js index 86ab0ff..dcb0606 100644 --- a/src/backend/api.js +++ b/src/backend/api.js @@ -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`)