Skip to content

Commit

Permalink
fix: stop action
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-tkachenko committed Jan 17, 2024
1 parent 7535478 commit 800da8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Prxi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ export class Prxi {

this.hooks.onUpgrade(path, req, socket, head, context);
const {handler, proxy} = this.findWebSocketHandler(context, upstreamConfigurations, path, req.headers);

// handle websocket
if (
req.headers.upgrade.toLowerCase() === 'websocket'
Expand Down Expand Up @@ -706,7 +706,7 @@ export class Prxi {
p.ws?.closeAllConnections();
});

this.log.info(context, 'Stopped', {
this.log.info({}, 'Stopped', {
class: Prxi.LOG_CLASS,
});
res();
Expand Down

0 comments on commit 800da8f

Please sign in to comment.