Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Jan 20, 2025
1 parent 6c631f9 commit 211bcde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/benchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ using namespace cinatra;
using namespace std::chrono_literals;

int main() {
coro_http_server server(std::thread::hardware_concurrency(), 8090,
"127.0.0.1", true);
coro_http_server server(std::thread::hardware_concurrency(), 8090, "0.0.0.0",
true);
server.set_http_handler<GET>(
"/plaintext", [](coro_http_request& req, coro_http_response& resp) {
resp.set_delay(false);
Expand Down

0 comments on commit 211bcde

Please sign in to comment.