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
@@ -17,7 +17,7 @@ int main() {
WEBCC_LOG_INIT("", webcc::LOG_CONSOLE);
try {
webcc::Server server(8080);
webcc::Server server{ 8080 };
server.Route("/", std::make_shared<HelloView>());