Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ueen authored Aug 2, 2021
1 parent 09c8dd6 commit c14926c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions background.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ browser.storage.sync.get({SdAmode:"", Backg:false, Servr:"https://snapdrop.net"}
sdURL = result.Servr;

if (result.Backg) {
snapdrop = new Snapdrop(result.Servr);
snapdrop = new Snapdrop(sdURL.split("//")[1]);
browser.tabs.onUpdated.addListener(handleUpdated);
browser.tabs.onRemoved.addListener(handleRemoved);
}
Expand Down Expand Up @@ -95,4 +95,4 @@ function stop() {
snapdrop.server.stop();
console.log('background snapdrop stopped');
}
}
}

0 comments on commit c14926c

Please sign in to comment.