fix(docker): nginx restart always output network error

This commit is contained in:
Jacky 2024-05-05 17:47:07 +08:00
parent 070c0b4620
commit 45a68112b1
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
5 changed files with 113 additions and 94 deletions

View file

@ -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')
},