【发布时间】:2016-10-16 10:40:36
【问题描述】:
在我的windows pc中安装node-static后,使用命令:
npm install -g node-static
当我运行 static.cmd 时,它告诉我它在 http://127.0.0.1:8080 上侦听,但是当我在浏览器上尝试该地址时,它始终没有响应而是找到带有经典 hello world 的 index.html。 我不明白这是什么问题。
谢谢你
【问题讨论】:
标签: node.js node-static