replace 'core.BASEPORT_WEB_SERVER+338' to 'coretool.PORT_WEB_SERVER_DEV'
This commit is contained in:
@@ -5,7 +5,7 @@ const inProd = process.env.NODE_ENV === 'production' // 用 'production' 测试
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
webProtocol: inProd ? 'httpall' : 'http',
|
webProtocol: inProd ? 'httpall' : 'http',
|
||||||
webHostname: inProd ? 'vic-user.bittic.org' : 'localhost',
|
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',
|
webRoot: 'dist',
|
||||||
webSsl: inProd
|
webSsl: inProd
|
||||||
? {
|
? {
|
||||||
|
|||||||
Reference in New Issue
Block a user