mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-04 16:35:56 +02:00
refactor: Use ===
This commit is contained in:
@@ -54,7 +54,7 @@ module.exports = (server: http.Server) => {
|
||||
});
|
||||
|
||||
connection.on('message', async (data) => {
|
||||
if (data.utf8Data == 'ping') {
|
||||
if (data.utf8Data === 'ping') {
|
||||
connection.send('pong');
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user