Compare commits

..

2 Commits

Author SHA1 Message Date
Nikolai Petukhov
6bea0428f4 api link fix 2024-10-03 21:26:02 +03:00
Nikolai Petukhov
660f2e9d5c 0.3.0 2024-10-03 21:16:23 +03:00
3 changed files with 9 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "enterfront",
"version": "0.2.4",
"version": "0.3.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "enterfront",
"version": "0.2.4",
"version": "0.3.0",
"dependencies": {
"@brojs/cli": "^1.0.0",
"@brojs/create": "^1.0.0",

View File

@ -26,5 +26,5 @@
"clean": "rimraf dist"
},
"name": "enterfront",
"version": "0.2.4"
"version": "0.3.0"
}

View File

@ -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`)