Compare commits
2 Commits
a9b683797b
...
6bea0428f4
Author | SHA1 | Date | |
---|---|---|---|
|
6bea0428f4 | ||
|
660f2e9d5c |
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "enterfront",
|
"name": "enterfront",
|
||||||
"version": "0.2.4",
|
"version": "0.3.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "enterfront",
|
"name": "enterfront",
|
||||||
"version": "0.2.4",
|
"version": "0.3.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@brojs/cli": "^1.0.0",
|
"@brojs/cli": "^1.0.0",
|
||||||
"@brojs/create": "^1.0.0",
|
"@brojs/create": "^1.0.0",
|
||||||
|
@ -26,5 +26,5 @@
|
|||||||
"clean": "rimraf dist"
|
"clean": "rimraf dist"
|
||||||
},
|
},
|
||||||
"name": "enterfront",
|
"name": "enterfront",
|
||||||
"version": "0.2.4"
|
"version": "0.3.0"
|
||||||
}
|
}
|
||||||
|
@ -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`)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user