修改Web Crypto API 在 HTTP 环境下不可用的问题,自动降级

- HTTPS/localhost :正常启用加密
- HTTP(非 localhost) :自动禁用加密,以明文方式通信
This commit is contained in:
2026-06-26 14:56:03 +08:00
parent 157e7e5bba
commit e21ba57597
8 changed files with 202 additions and 166 deletions
File diff suppressed because one or more lines are too long