mirror of
https://github.com/w0rng/amnezia-wg-easy.git
synced 2025-05-01 15:50:14 +03:00
Add UI_DETAILED_STATS variable
Show detailed RX / TX stats when UI_DETAILED_STATS = true Add api method to get UI_DETAILED_STATS value on frontend
This commit is contained in:
parent
a1fdc610ad
commit
fa392cf260
5 changed files with 39 additions and 8 deletions
|
@ -43,6 +43,13 @@ class API {
|
|||
});
|
||||
}
|
||||
|
||||
async getUiDetailedStats() {
|
||||
return this.call({
|
||||
method: 'get',
|
||||
path: '/ui-detailed-stats',
|
||||
});
|
||||
}
|
||||
|
||||
async getSession() {
|
||||
return this.call({
|
||||
method: 'get',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue