add disable-plugin-list, --store-plaintext and --dev-mode run arguments
fixes #6
This commit is contained in:
parent
fcfecaff7e
commit
989692c6ac
2 changed files with 26 additions and 1 deletions
|
@ -27,11 +27,12 @@ function sidebarAddPeerRegister(){
|
|||
if (! resp.ok){
|
||||
if (resp.status == 409){
|
||||
PNotify.notice({text: "Peer already added"})
|
||||
return
|
||||
throw new Error("Could not add peer " + newPeer + " already added")
|
||||
}
|
||||
PNotify.error({text: "Could not add peer. Is your input valid?"})
|
||||
throw new Error("Could not add peer " + newPeer)
|
||||
}
|
||||
return resp
|
||||
})
|
||||
.then((resp) => resp.text())
|
||||
.then(function(data) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue