From 196bf488aff98f91c9008cbaf7b3c320701cbd58 Mon Sep 17 00:00:00 2001 From: "luk.lu" Date: Tue, 20 Sep 2022 14:48:28 +0800 Subject: [PATCH] replace 'core.BASEPORT_WEB_SERVER+338' to 'coretool.PORT_WEB_SERVER_DEV' --- envar-web-basic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envar-web-basic.js b/envar-web-basic.js index b8fd17b..b8abd37 100644 --- a/envar-web-basic.js +++ b/envar-web-basic.js @@ -5,7 +5,7 @@ const inProd = process.env.NODE_ENV === 'production' // 用 'production' 测试 module.exports = { webProtocol: inProd ? 'httpall' : 'http', webHostname: inProd ? 'vic-user.bittic.org' : 'localhost', - webPort: inProd ? undefined : coretool.BASEPORT_WEB_SERVER + 338, + webPort: inProd ? undefined : coretool.PORT_WEB_SERVER_DEV, webRoot: 'dist', webSsl: inProd ? {