$ npm install -g general-file-server
$ gfs
在相应的 node_modules 文件夹下修改配置文件即可:
module.exports = {
hostname: '192.168.1.110', // hostname, or "abc.com"
port: 1234, // port
root_path: "/", // root_path to serve on your file system
title: "General File Server", // title in the page
logo_link: "/____statics/logo.png" // href link of the logo
}
回复 (6)
T
欢迎 star,fork。感兴趣的同学尽情 Pull Request
I
很早之前,我也写了一个
https://github.com/i5ting/upload-anywhere/
- root_path在哪里启动,哪儿就是root_path
- 扫码下载没有做
- 支持界面上传
- 支持cli上传
- 支持删除
T
引用 i5ting很早之前,我也写了一个 https://github.com/i5ting/upload anywhere/ root path在哪里启动,哪儿就是root path 扫码下载没有做 支持界面...
@i5ting 已 Mark, 回头给你 PR 一个扫码下载
I
引用 timqi@i5ting 已 Mark, 回头给你 PR 一个扫码下载
@timqi 没你做的漂亮啊,合到你那边也行,代码mit开源,哈哈
T
P
mark
参与回复
登录后即可参与回复。登录