mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-08-04 03:45:59 -04:00
Merge pull request #522 from kiwix/showCustomRoot
Add root location in startup message
This commit is contained in:
commit
2c435926ca
@ -369,7 +369,7 @@ int main(int argc, char** argv)
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string url = "http://" + server.getAddress() + ":" + std::to_string(server.getPort());
|
std::string url = "http://" + server.getAddress() + ":" + std::to_string(server.getPort()) + "/" + rootLocation;
|
||||||
std::cout << "The Kiwix server is running and can be accessed in the local network at: "
|
std::cout << "The Kiwix server is running and can be accessed in the local network at: "
|
||||||
<< url << std::endl;
|
<< url << std::endl;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user