small bug fixes, added more cors headers for pub api browser requests

This commit is contained in:
Kevin Froman 2020-10-06 02:53:56 +00:00
parent 45940b2dba
commit 10ba2be93f
5 changed files with 15 additions and 7 deletions

View file

@ -20,7 +20,6 @@ function sidebarAddPeerRegister(){
}})
.then((resp) => resp.text())
.then(function(data) {
alert(data)
if (data == "success"){
PNotify.success({
text: 'Peer added'