Merge request handler to server; add FileBody for serving static files.

This commit is contained in:
Chunting Gu
2019-07-12 16:05:01 +08:00
parent 91590b8ee8
commit 8b85248a34
12 changed files with 493 additions and 470 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
void Help(const char* argv0) {
std::cout << "Usage: " << argv0 << " <port> <doc_root>" << std::endl;
std::cout << " E.g.," << std::endl;
std::cout << " " << argv0 << " 8080 D:/www" << std::endl;
std::cout << " " << argv0 << " 8080 D:\\www" << std::endl;
}
int main(int argc, char* argv[]) {