replace 'core.BASEPORT_WEB_SERVER+338' to 'coretool.PORT_WEB_SERVER_DEV'

This commit is contained in:
luk.lu
2022-09-20 14:48:28 +08:00
parent d7ae195bff
commit 196bf488af

View File

@@ -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
? {