express truepath:将url解析为根路径 源码
表达真实路径 将网址解析为根文件。 安装 npm install express-truepath 文献资料 var path = require ( "path" ) ; var truePath = require ( "express-truepath" ) ; var rootPath = path . resolve ( "." , "public" ) ; var config = { // this is default value index : [ "index.html" , "default.html" ] , follow_symlink : true
文件列表
express-truepath-master.zip
(预估有个7文件)
express-truepath-master
test.js
56B
LICENSE
1KB
README.md
2KB
.gitignore
2KB
index.js
5KB
package-lock.json
81B
package.json
608B
暂无评论