From 6bea0428f45aa95d31f9e01038bc0becf27327b0 Mon Sep 17 00:00:00 2001 From: Nikolai Petukhov Date: Thu, 3 Oct 2024 21:26:02 +0300 Subject: [PATCH] api link fix --- src/backend/api.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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`)