mirror of
https://github.com/w0rng/amnezia-wg-easy.git
synced 2025-05-02 16:20:19 +03:00
fix: reload configuration
* run linter * screenshot update
This commit is contained in:
parent
03b7d8e537
commit
e3ee09b755
5 changed files with 13 additions and 14 deletions
|
@ -141,15 +141,15 @@ class API {
|
|||
async uploadConfiguration(file) {
|
||||
return this.call({
|
||||
method: 'put',
|
||||
path: `/wireguard/upload`,
|
||||
body: { file }
|
||||
path: '/wireguard/upload',
|
||||
body: { file },
|
||||
});
|
||||
}
|
||||
|
||||
async downloadConfiguration() {
|
||||
return this.call({
|
||||
method: 'get',
|
||||
path: `/wireguard/dl`,
|
||||
path: '/wireguard/dl',
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue