static-server
static-server copied to clipboard
使用node搭建静态资源服务器
下载下来运行出错了,是什么问题呢?是安装的问题吗 code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/yumn-static-server - Not found npm ERR! 404 npm ERR! 404 'yumn-static-server@*' is not in this registry.
在 static-server.js 文件中的 StaticServer 类中使用到 respondError 的几处地方没用 this.respondError 的调用方式
Bumps [open](https://github.com/sindresorhus/open) from 0.0.5 to 7.1.0. Release notes Sourced from open's releases. v7.1.0 Add allowNonzeroExitCode option (#176) e009765 https://github.com/sindresorhus/open/compare/v7.0.4...v7.1.0 v7.0.4 Fix double-encoding of URLs (#182) 48b6d0e https://github.com/sindresorhus/open/compare/v7.0.3...v7.0.4 v7.0.3 Fix query...
目前的页面如下,太丑  预期页面: - 目录排前,文件排后 - 是否需要显示文件大小(待定) - 样式丰富