define constants "BASEPORT_xxx"

This commit is contained in:
陆柯 2022-08-04 09:44:13 +08:00
parent 13c101a451
commit 97e1658276

View File

@ -2,6 +2,11 @@
*/
module.exports = {
BASEPORT_API_SERVER: 7000,
BASEPORT_WEB_SERVER: 8000,
BASEPORT_CHAIN_SERVER: 6000,
BASEPORT_NET_NODE: 60000,
sleep: (ms) => new Promise((resolve, reject) => setTimeout(resolve, ms)),
parse_json_anyway (value) {