diff --git a/config/config.default.js b/config/config.default.js index 082e01a..ad87385 100644 --- a/config/config.default.js +++ b/config/config.default.js @@ -12,6 +12,15 @@ module.exports = appInfo => { **/ const config = exports = {}; + // config host and port + config.cluster = { + listen: { + path: '', + port: 7001, + hostname: '0.0.0.0', + }, + }; + // use for cookie sign key, should change to your own and keep security config.keys = appInfo.name + '_1662430224326_6309';