Skip to content

rsup 配置文件

配置文件包括了以下内容:

toml
name = "rsup"
version = "0.3.0"
dir = "/opt/rsup"

[web]
port = 8888
static_dir = "/opt/rsup/web"

[pkg]
npm_registry = "https://registry.npmmirror.com"

最主要的信息web.static_dir指定了静态资源的存放地址。pkg.npm_registry指定了npm仓库地址。

通常不需要去修改配置文件,在安装时时,默认生成到指定路径下。你可以在足够了解rsup的设计结构的情况下去修改配置文件。

Released under the Apache License.