mirror of
https://github.com/ragestudio/linebridge.git
synced 2025-06-09 02:24:17 +00:00
fix httpOptions
This commit is contained in:
parent
071358c3e5
commit
f3a4b2dace
@ -89,10 +89,8 @@ class Server {
|
||||
|
||||
this.engineInstance = global.engineInstance = HTTPEngines[this.params.httpEngine]()
|
||||
this.httpInstance = global.httpInstance = HTTPProtocolsInstances[this.params.protocol].createServer({
|
||||
...this.engineInstance,
|
||||
key: this.params.key,
|
||||
cert: this.params.cert,
|
||||
})
|
||||
...this.params.httpOptions ?? {},
|
||||
}, this.engineInstance)
|
||||
this.wsInterface = global.wsInterface = {
|
||||
io: new io.Server(this.httpInstance),
|
||||
map: {},
|
||||
|
Loading…
x
Reference in New Issue
Block a user