-
Notifications
You must be signed in to change notification settings - Fork 212
Closed
Description
@vue/repl依赖中的crypto,你用的是web标准中的crypto,我在http生产环境中crypto下的subtle 报undefined,然后我在Stack Overflow上看到有说是 Web Crypto API 只能在安全环境下(本地localhost、127.0.0.1或者https)使用,在其他局域网地址或者其他ip下无法使用。报错文件为 vue-repl.js 下的 hashId方法。
我希望能够不使用Crypto 来对文件名进行加密,因为这会导致在非安全环境下报错,而我们大多数开发者都是在http这种非安全环境下开发的,所以我建议你们能够重写 vue-repl.js 下的 hashId方法,因为只因为想加密文件名而导致整个程序无法继续运行,就很可惜。
Metadata
Metadata
Assignees
Labels
No labels