From 8b51d362a45e314f2e533260f8d8acc8357b7b27 Mon Sep 17 00:00:00 2001 From: ZakiHe <497920432@qq.com> Date: Mon, 28 Oct 2024 20:31:46 +0800 Subject: [PATCH] Update config.default.js --- config/config.default.js | 9 +++++++++ 1 file changed, 9 insertions(+) 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';