Skip to content

Commit 2c43592

Browse files
authored
Merge pull request #522 from kiwix/showCustomRoot
Add root location in startup message
2 parents 701541a + b8c4791 commit 2c43592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/kiwix-serve.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ int main(int argc, char** argv)
369369
exit(1);
370370
}
371371

372-
std::string url = "http://" + server.getAddress() + ":" + std::to_string(server.getPort());
372+
std::string url = "http://" + server.getAddress() + ":" + std::to_string(server.getPort()) + "/" + rootLocation;
373373
std::cout << "The Kiwix server is running and can be accessed in the local network at: "
374374
<< url << std::endl;
375375

0 commit comments

Comments
 (0)