mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
bug fix
This commit is contained in:
parent
fea0bc727f
commit
f85aa7a9e9
1 changed files with 4 additions and 1 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue