mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
fix(websockets): remove subscribe logs
This commit is contained in:
@@ -152,14 +152,6 @@ export class WebSocketsController {
|
||||
adapter.bindMessageHandlers(client, handlers, data =>
|
||||
fromPromise(this.pickResult(data)).pipe(mergeAll()),
|
||||
);
|
||||
|
||||
subscribersMap.forEach(({ callback, message }) => {
|
||||
this.logger.log(
|
||||
`Subscribe ${(instance as Object).constructor.name}.${
|
||||
callback.name
|
||||
} method to ${message} message.`,
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
public async pickResult(
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<html>
|
||||
<head>
|
||||
<script src="socket.io.js"></script>
|
||||
<script src="https://cdn.socket.io/4.3.2/socket.io.min.js" integrity="sha384-KAZ4DtjNhLChOB/hxXuKqhMLYvx3b5MlT55xPEiNmREKRzeEm+RVPlTnAn0ajQNs" crossorigin="anonymous"></script>
|
||||
<script>
|
||||
const socket = io('http://localhost:3000');
|
||||
socket.on('connect', function() {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user