fix refname path

This commit is contained in:
SrGooglo 2025-03-31 23:49:16 +00:00
parent 71b06edaec
commit 9095e350c8
2 changed files with 2 additions and 4 deletions

View File

@ -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,

View File

@ -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,