mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 10:55:51 +02:00
fix(docker): nginx restart always output network error
This commit is contained in:
parent
070c0b4620
commit
45a68112b1
5 changed files with 113 additions and 94 deletions
|
@ -46,7 +46,7 @@ const ngx = {
|
|||
return http.post('/ngx/format_code', { content })
|
||||
},
|
||||
|
||||
status(): Promise<{ running: boolean }> {
|
||||
status(): Promise<{ running: boolean; message: string; level: number }> {
|
||||
return http.get('/nginx/status')
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue