@gswl/fileserve

1.0.30 • Public • Published

koatest

安装

npm i -g @gswl/fileserve

使用

文件存储路径为必传参数
-s 文件存储路径,必传参数
-p 启动端口默认8080
-t 临时文件过期时间,默认7天,每天0点清除过期文件

启动   fileserve -s /xx/xx  -p 8080 -t 7

文件上传  /upload
修改域名  /host/set?host=xxx 
获取域名  /host/get

网页上传测试

test目录下index.html文件打开可测试在网页上传文件

Readme

Keywords

none

Package Sidebar

Install

npm i @gswl/fileserve

Weekly Downloads

15

Version

1.0.30

License

ISC

Unpacked Size

41.9 kB

Total Files

27

Last publish

Collaborators

  • gswlwp