From 97e165827678c28bad2a0903192744775bda21ce Mon Sep 17 00:00:00 2001 From: "luk.lu" Date: Thu, 4 Aug 2022 09:44:13 +0800 Subject: [PATCH] define constants "BASEPORT_xxx" --- coretool.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/coretool.js b/coretool.js index bbfeb31..007d7a4 100644 --- a/coretool.js +++ b/coretool.js @@ -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) {