This commit is contained in:
0xJacky 2022-09-01 11:06:41 +08:00
parent fea0bc727f
commit f85aa7a9e9
No known key found for this signature in database
GPG key ID: B6E4A6E4A561BAF0

View file

@ -29,7 +29,10 @@ function openWs() {
websocket = ws('/api/nginx_log')
websocket.onopen = () => {
websocket.send(JSON.stringify(control))
websocket.send(JSON.stringify({
...control,
fetch: 'new'
}))
}
websocket.onmessage = (m: any) => {