Skip to content

Commit f85aa7a

Browse files
committed
bug fix
1 parent fea0bc7 commit f85aa7a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

frontend/src/views/nginx_log/NginxLog.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ function openWs() {
2929
websocket = ws('/api/nginx_log')
3030
3131
websocket.onopen = () => {
32-
websocket.send(JSON.stringify(control))
32+
websocket.send(JSON.stringify({
33+
...control,
34+
fetch: 'new'
35+
}))
3336
}
3437
3538
websocket.onmessage = (m: any) => {

0 commit comments

Comments
 (0)