Merge pull request #522 from kiwix/showCustomRoot

Add root location in startup message
pull/524/head
Kelson 4 years ago committed by GitHub
commit 2c435926ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -369,7 +369,7 @@ int main(int argc, char** argv)
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: "
<< url << std::endl;

Loading…
Cancel
Save