精简HttpServer代码

This commit is contained in:
xia-chu
2023-06-10 10:16:45 +08:00
committed by 夏楚
parent fff53cf0e2
commit 52c7bc1d34
5 changed files with 28 additions and 41 deletions

View File

@@ -46,7 +46,7 @@ struct HttpCookieAttachment {
};
const string &HttpFileManager::getContentType(const char *name) {
return getHttpContentType(name);
return HttpConst::getHttpContentType(name);
}
static string searchIndexFile(const string &dir){