mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-22 11:22:38 -04:00
Merge pull request #499 from kiwix/startup-message
Add startup message to provide http url to server
This commit is contained in:
commit
9b158360a6
@ -369,6 +369,10 @@ int main(int argc, char** argv)
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string url = "http://" + server.getAddress() + ":" + std::to_string(server.getPort());
|
||||||
|
std::cout << "The Kiwix server is running and can be accessed in the local network at: "
|
||||||
|
<< url << std::endl;
|
||||||
|
|
||||||
/* Run endless (until PPID dies) */
|
/* Run endless (until PPID dies) */
|
||||||
waiting = true;
|
waiting = true;
|
||||||
do {
|
do {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user