From eae99dc9771fbfd834cf78f95c2735ac4e0176b3 Mon Sep 17 00:00:00 2001 From: gaoshuaixing Date: Wed, 29 Nov 2023 17:10:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B2=BE=E7=AE=80=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron/config/config.default.js | 1 + go/config/config.default.json | 3 --- go/config/config.local.json | 10 +++++++--- go/config/config.prod.json | 3 --- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/electron/config/config.default.js b/electron/config/config.default.js index 54a9b19..f242298 100644 --- a/electron/config/config.default.js +++ b/electron/config/config.default.js @@ -130,6 +130,7 @@ module.exports = (appInfo) => { enable: true, name: 'goapp', args: ['--env=dev', '--port=7073'], + appExit: false, } }; diff --git a/go/config/config.default.json b/go/config/config.default.json index a4b09d9..ab58ea3 100644 --- a/go/config/config.default.json +++ b/go/config/config.default.json @@ -15,10 +15,7 @@ }, "http": { "enable": true, - "protocol": "http://", - "hostname": "127.0.0.1", "port": 7073, - "index_path": "", "network": false }, "static": { diff --git a/go/config/config.local.json b/go/config/config.local.json index c01d9b2..761c304 100644 --- a/go/config/config.local.json +++ b/go/config/config.local.json @@ -6,12 +6,16 @@ "max_size": 1024, "max_age": 20 }, + "core_logger": { + "output_json": false, + "level": "info", + "filename": "ee-go-core.log", + "max_size": 1024, + "max_age": 10 + }, "http": { "enable": true, - "protocol": "http://", - "hostname": "127.0.0.1", "port": 7073, - "indexPath": "", "network": false } } \ No newline at end of file diff --git a/go/config/config.prod.json b/go/config/config.prod.json index 9481ddb..6692359 100644 --- a/go/config/config.prod.json +++ b/go/config/config.prod.json @@ -15,10 +15,7 @@ }, "http": { "enable": true, - "protocol": "http://", - "hostname": "127.0.0.1", "port": 7073, - "indexPath": "", "network": false } } \ No newline at end of file