Skip to content

Commit 71df3cf

Browse files
committed
docs(readme): add usage for --bind
1 parent 90c19d9 commit 71df3cf

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ server [options]
135135
Set path alias.
136136
Mount a file system path to URL path.
137137
e.g. ":/doc:/usr/share/doc"
138+
-b|--bind <separator><url-path><separator><fs-path> ...
139+
Similar to --alias, but the url path is case-insensitive.
138140
139141
--header <name>:<value> ...
140142
Set custom HTTP response header.

README.zh-CN.md

+2
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ server [选项]
134134
设置路径别名。
135135
将某个文件系统路径挂载到URL路径下。
136136
例如:“:/doc:/usr/share/doc”。
137+
-b|--bind <分隔符><URL路径><分隔符><文件系统路径> ...
138+
与--alias类似,但URL路径是不区分大小写的。
137139
138140
--header <名称>:<值> ...
139141
设置自定义HTTP响应头。

0 commit comments

Comments
 (0)