Feature/dev (#1143)

* 防止每次cmake后导致重复编译
This commit is contained in:
夏楚
2021-09-30 11:27:42 +08:00
committed by GitHub
parent a83187d25f
commit a548fcd709
5 changed files with 37 additions and 23 deletions

View File

@@ -133,16 +133,16 @@ onceToken token([](){
#endif
mINI::Instance()[kRootPath] = "./www";
mINI::Instance()[kNotFound] =
"<html>"
"<head><title>404 Not Found</title></head>"
"<body bgcolor=\"white\">"
"<center><h1>您访问的资源不存在!</h1></center>"
"<hr><center>"
SERVER_NAME
"</center>"
"</body>"
"</html>";
mINI::Instance()[kNotFound] = StrPrinter << "<html>"
"<head><title>404 Not Found</title></head>"
"<body bgcolor=\"white\">"
"<center><h1>您访问的资源不存在!</h1></center>"
"<hr><center>"
<< SERVER_NAME
<< "</center>"
"</body>"
"</html>"
<< endl;
},nullptr);
}//namespace Http