Compare commits

...

2 Commits

Author SHA1 Message Date
Nikolai Petukhov
9c1c670ccb small fix with routes 2024-10-12 12:25:38 +03:00
Nikolai Petukhov
ff9bd3ac8c 0.5.0 2024-10-12 12:24:16 +03:00
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View File

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

View File

@ -29,5 +29,5 @@
"clean": "rimraf dist" "clean": "rimraf dist"
}, },
"name": "enterfront", "name": "enterfront",
"version": "0.4.0" "version": "0.5.0"
} }

View File

@ -4,7 +4,7 @@ import {getConfigValue} from "@brojs/cli";
const LOCAL = "http://localhost:8099"; const LOCAL = "http://localhost:8099";
const DEV = "https://dev.bro-js.ru"; const DEV = "https://dev.bro-js.ru";
export const BASE_API_URL = LOCAL + getConfigValue("enterfront.api"); export const BASE_API_URL = DEV + getConfigValue("enterfront.api");
// fetch(`${BASE_API_URL}/books/list`) // fetch(`${BASE_API_URL}/books/list`)