Results 2 issues of

## 错误现象 版本:commit 99dfb53 登录时出现未处理的异常,控制台输出为: ``` # 输入帐号: [hide] # 输入密码: [hide] [2021-06-09 17:33:30] [login:154] [Error] 登录失败,错误信息为:{'ts': 1623256412, 'code': 0, 'data': {'status': 2, 'url': 'https://passport.bilibili.com/account/mobile/security/managephone/phone/verify?tmp_token=&requestId=&source=risk', 'message': '本次登录环境存在风险, 需使用手机号进行验证或绑定'}} ``` 报错已进行匿名化处理。...

A minor change that allows the service worker to be loaded properly when the app is not in the root of the URL (e.g. https://example.com/app/snapdrop/). Additional to PR https://github.com/RobinLinus/snapdrop/pull/570 It...