问题描述
当运行 remixd 插件守护进程时,即使我设置了共享文件夹参数,Remix IDE 也可以通过浏览器访问我的整个系统,而不仅仅是指定的文件夹。这是一个错误吗?
➜ ~ remixd -s /some/shared/folder/
[WARN] You can only connect to remixd from one of the supported origins.
[WARN] Any application that runs on your computer can potentially read from and write to all files in the directory.
[WARN] Symbolic links are not forwarded to Remix IDE
Wed Feb 03 2021 22:03:29 GMT+0100 (CET) Remixd is listening on 127.0.0.1:65520
[WARN] You may Now only use IDE at https://remix.ethereum.org to connect to that instance
setup notifications for /some/shared/folder/
解决方法
我是对的 - 当前版本中存在错误。要修复,您必须执行:
npm uninstall -g remixd
npm install -g @remix-project/remixd