使用新语法

This commit is contained in:
哆啦好梦
2023-03-07 19:12:11 +08:00
parent 948084cbc1
commit 20ae074a3b
12 changed files with 66 additions and 51 deletions

View File

@@ -81,7 +81,7 @@ module.exports = (appInfo) => {
* 内置socket服务
*/
config.socketServer = {
enable: false,
enable: true,
port: 7070,
path: "/socket.io/",
connectTimeout: 45000,
@@ -98,7 +98,7 @@ module.exports = (appInfo) => {
* 内置http服务
*/
config.httpServer = {
enable: false,
enable: true,
https: {
enable: false,
key: '/public/ssl/localhost+1.key',
@@ -176,7 +176,7 @@ module.exports = (appInfo) => {
name: 'java-app.jar'
},
example: {
enable: true,
enable: false,
},
};