diff --git a/src/api/integrations/event/websocket/websocket.controller.ts b/src/api/integrations/event/websocket/websocket.controller.ts index 046682a9..728c7644 100644 --- a/src/api/integrations/event/websocket/websocket.controller.ts +++ b/src/api/integrations/event/websocket/websocket.controller.ts @@ -33,7 +33,7 @@ export class WebsocketController extends EventController implements EventControl const { remoteAddress } = req.socket; const isAllowedHost = (process.env.WEBSOCKET_ALLOWED_HOSTS || '127.0.0.1,::1,::ffff:127.0.0.1') .split(',') - .map(h => h.trim()) + .map((h) => h.trim()) .includes(remoteAddress); if (params.has('EIO') && isAllowedHost) {