浏览器的安全策略不允许 file:// 直接加载网站模块,所以双击 index.html 会显示空白。
file://
start.bat
bash start.sh
随后访问 http://localhost:8080。摄像头也需要这个地址才能启用。
http://localhost:8080