This commit is contained in:
Chunting Gu
2020-02-23 12:31:20 +08:00
parent 4ddf2d5696
commit 4386c46397
5 changed files with 8 additions and 24 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ int main(int argc, char* argv[]) {
std::string doc_root = argv[2];
try {
webcc::Server server(port, doc_root);
webcc::Server server{ port, doc_root };
if (argc == 4) {
server.set_file_chunk_size(std::atoi(argv[3]));