Skip to content

Commit d67eb32

Browse files
committed
Fix lint
1 parent 0aa6c96 commit d67eb32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/integrations/event/websocket/websocket.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class WebsocketController extends EventController implements EventControl
3333
const { remoteAddress } = req.socket;
3434
const isAllowedHost = (process.env.WEBSOCKET_ALLOWED_HOSTS || '127.0.0.1,::1,::ffff:127.0.0.1')
3535
.split(',')
36-
.map(h => h.trim())
36+
.map((h) => h.trim())
3737
.includes(remoteAddress);
3838

3939
if (params.has('EIO') && isAllowedHost) {

0 commit comments

Comments
 (0)