Skip to content

Commit

Permalink
chore: update app.config
Browse files Browse the repository at this point in the history
  • Loading branch information
ErKeLost committed Dec 25, 2024
1 parent fe7897c commit 6c70d43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/server/ws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export class WsServer {
*/
constructor(private readonly app: any) {
this.logger = app.logger ?? new Logger();
this.serverConfig = app.resolvedUserConfig.server as ServerOptions;
this.serverConfig = app.config.server as ServerOptions;
this.createWebSocketServer();
}

Expand Down

0 comments on commit 6c70d43

Please sign in to comment.