mirror of
https://github.com/w0rng/amnezia-wg-easy.git
synced 2025-04-30 23:30:06 +03:00
Fix traffic charts. Add chart vars
Add UI_TRAFFIC_STATS, UI_CHART_TYPE
This commit is contained in:
parent
ed0e46788a
commit
aedb691b2b
6 changed files with 113 additions and 21 deletions
|
@ -50,6 +50,13 @@ class API {
|
|||
});
|
||||
}
|
||||
|
||||
async getChartType() {
|
||||
return this.call({
|
||||
method: 'get',
|
||||
path: '/ui-chart-type',
|
||||
});
|
||||
}
|
||||
|
||||
async getSession() {
|
||||
return this.call({
|
||||
method: 'get',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue