mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 10:55:51 +02:00
refactor: refactor app and api
This commit is contained in:
parent
5ab50b8a93
commit
287ef7527d
157 changed files with 8116 additions and 3587 deletions
|
@ -4,13 +4,13 @@ const upgrade = {
|
|||
get_latest_release(channel: string) {
|
||||
return http.get('/upgrade/release', {
|
||||
params: {
|
||||
channel
|
||||
}
|
||||
channel,
|
||||
},
|
||||
})
|
||||
},
|
||||
current_version() {
|
||||
return http.get('/upgrade/current')
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
export default upgrade
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue