enhance: nginx control

This commit is contained in:
0xJacky 2023-12-06 22:56:36 +08:00
parent 30f75ff7cd
commit f7d9f2564f
No known key found for this signature in database
GPG key ID: B6E4A6E4A561BAF0
8 changed files with 131 additions and 69 deletions

View file

@ -46,7 +46,7 @@ const ngx = {
return http.post('/ngx/format_code', { content })
},
status() {
status(): Promise<{ running: boolean }> {
return http.get('/nginx/status')
},