jimmywarting / StreamSaver.js

StreamSaver writes stream to the filesystem directly asynchronous
https://jimmywarting.github.io/StreamSaver.js/example.html
MIT License
3.97k stars 413 forks source link

mitm.html page only can work in https? #225

Closed LanlanXu closed 3 years ago

LanlanXu commented 3 years ago

mitm.html page in http,the streamsaver cant work

jimmywarting commented 3 years ago

yes, the service worker can only be registered when the window.isSecureContext === true meaning https

http://localhost is safe also... it possible to whitelist domains as secure in the browsers also if you are developing stuff