添加http文件服务可挂载物理目录,新增ENABLE_API_STATIC_LIB

sa
This commit is contained in:
baiyfcu
2021-08-25 14:30:31 +08:00
parent 4a063bee43
commit 626bf3dcf9
5 changed files with 29 additions and 5 deletions

View File

@@ -112,6 +112,8 @@ const string kKeepAliveSecond = HTTP_FIELD"keepAliveSecond";
const string kCharSet = HTTP_FIELD"charSet";
//http 服务器根目录
const string kRootPath = HTTP_FIELD"rootPath";
//http 服务器虚拟目录
const string kVirtualPath = HTTP_FIELD "virtualPath";
//http 404错误提示内容
const string kNotFound = HTTP_FIELD"notFound";
//是否显示文件夹菜单

View File

@@ -183,6 +183,8 @@ extern const string kKeepAliveSecond;
extern const string kCharSet;
//http 服务器根目录
extern const string kRootPath;
//http 服务器虚拟目录 虚拟目录名和磁盘物理路径使用“,”隔开,多个配置路径间用 "|"隔开,例如 path1,d:/record|path2,e:/record
extern const string kVirtualPath;
//http 404错误提示内容
extern const string kNotFound;
//是否显示文件夹菜单