Merge branch 'dev'
This commit is contained in:
commit
442dbe704d
1 changed files with 1 additions and 5 deletions
|
@ -1,10 +1,6 @@
|
|||
window.URL = window.URL || window.webkitURL;
|
||||
window.isRtcSupported = !!(window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection);
|
||||
if (!crypto.subtle && localStorage.getItem('unsecure_warning') !== 'received') {
|
||||
// Warn once per session
|
||||
alert("PairDrops functionality to compare received with requested files works in secure contexts only (https or localhost).")
|
||||
localStorage.setItem('unsecure_warning', 'received')
|
||||
}
|
||||
|
||||
class ServerConnection {
|
||||
|
||||
constructor() {
|
||||
|
|
Loading…
Reference in a new issue