Skip to content

Commit

Permalink
Align ipmode with server in kiwix-serve
Browse files Browse the repository at this point in the history
  • Loading branch information
sgourdas committed Sep 18, 2024
1 parent 9f20116 commit 628b677
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/kiwix-serve.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@ int main(int argc, char** argv)
exit(1);
}

ipMode = server.getIpMode(); // Align the ipMode with the one set by the server

std::string prefix = "http://";
kiwix::IpAddress addresses = server.getAddress();
std::string suffix = ":" + std::to_string(server.getPort()) + normalizeRootUrl(rootLocation);
Expand Down

0 comments on commit 628b677

Please sign in to comment.