forked from mirrors/amnezia-wg-easy
load language before session
This commit is contained in:
parent
3dae5d64fd
commit
a182efb443
2 changed files with 11 additions and 10 deletions
|
@ -36,6 +36,13 @@ class API {
|
|||
});
|
||||
}
|
||||
|
||||
async getLang() {
|
||||
return this.call({
|
||||
method: 'get',
|
||||
path: '/lang',
|
||||
});
|
||||
}
|
||||
|
||||
async getSession() {
|
||||
return this.call({
|
||||
method: 'get',
|
||||
|
@ -117,11 +124,4 @@ class API {
|
|||
});
|
||||
}
|
||||
|
||||
async getLang() {
|
||||
return this.call({
|
||||
method: 'get',
|
||||
path: '/lang',
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue