mirror of
https://github.com/ragestudio/linebridge.git
synced 2025-06-09 02:24:17 +00:00
fix refname path
This commit is contained in:
parent
71b06edaec
commit
9095e350c8
@ -69,8 +69,7 @@ export default class HyperExpressEngineNG {
|
||||
this.ws = global.websocket = new rtengineng({
|
||||
path:
|
||||
this.ctx.constructor.wsPath ??
|
||||
this.ctx.constructor.refName ??
|
||||
"/",
|
||||
`/${this.ctx.constructor.refName}`,
|
||||
onUpgrade: this.ctx.handleWsUpgrade,
|
||||
onConnection: this.ctx.handleWsConnection,
|
||||
onDisconnect: this.ctx.handleWsDisconnect,
|
||||
|
@ -368,8 +368,7 @@ class Server {
|
||||
enabled: this.constructor.enableWebsockets,
|
||||
path:
|
||||
this.constructor.wsPath ??
|
||||
this.constructor.refName ??
|
||||
"/",
|
||||
`/${this.constructor.refName}`,
|
||||
},
|
||||
listen: {
|
||||
ip: this.params.listen_ip,
|
||||
|
Loading…
x
Reference in New Issue
Block a user