@@ -55,10 +55,8 @@ export class ServerApp implements IServerApp {
5555 // 使用外部传入的中间件
5656 this . use = opts . use || ( ( middleware ) => null ) ;
5757 this . config = {
58+ ...opts ,
5859 injector : this . injector ,
59- logDir : opts . logDir ,
60- logLevel : opts . logLevel ,
61- LogServiceClass : opts . LogServiceClass ,
6260 marketplace : Object . assign (
6361 {
6462 endpoint : DEFAULT_ALIPAY_CLOUD_REGISTRY . ENDPOINT ,
@@ -75,17 +73,7 @@ export class ServerApp implements IServerApp {
7573 } ,
7674 opts . marketplace ,
7775 ) ,
78- processCloseExitThreshold : opts . processCloseExitThreshold ,
79- terminalPtyCloseThreshold : opts . terminalPtyCloseThreshold ,
80- staticAllowOrigin : opts . staticAllowOrigin ,
81- staticAllowPath : opts . staticAllowPath ,
82- extLogServiceClassPath : opts . extLogServiceClassPath ,
83- maxExtProcessCount : opts . maxExtProcessCount ,
84- onDidCreateExtensionHostProcess : opts . onDidCreateExtensionHostProcess ,
8576 extHost : process . env . EXTENSION_HOST_ENTRY || opts . extHost ,
86- blockPatterns : opts . blockPatterns ,
87- extHostIPCSockPath : opts . extHostIPCSockPath ,
88- extHostForkOptions : opts . extHostForkOptions ,
8977 rpcMessageTimeout : opts . rpcMessageTimeout || - 1 ,
9078 } ;
9179 this . bindProcessHandler ( ) ;
0 commit comments