mirror of
https://github.com/sr229/kuru-kuru.git
synced 2024-09-20 04:10:33 +00:00
send a message immediately on connect
This commit is contained in:
parent
41be1559f1
commit
548a35c4bf
1 changed files with 1 additions and 0 deletions
|
@ -116,6 +116,7 @@ export default function Counter(props: SharedProps) {
|
|||
console.log(
|
||||
`[${new Date().toISOString()}] Connected to statistics socket`,
|
||||
);
|
||||
ws.send(0x0.toString());
|
||||
};
|
||||
|
||||
ws.onmessage = (e) => {
|
||||
|
|
Loading…
Reference in a new issue