tools: rename 'lool' -> 'cool'

Change-Id: If567c65742df325d9999ea711ac642c07cd232c8
Signed-off-by: Henry Castro <hcastro@collabora.com>
pull/3649/head
Henry Castro 2021-11-15 11:37:59 -04:00 committed by Andras Timar
parent 2319ead3a4
commit d4a69adf9e
4 changed files with 4 additions and 4 deletions

View File

@ -362,7 +362,7 @@ int Config::main(const std::vector<std::string>& args)
}
else if (args[0] == "update-system-template")
{
const char command[] = "loolwsd-systemplate-setup /opt/lool/systemplate " LO_PATH " >/dev/null 2>&1";
const char command[] = "loolwsd-systemplate-setup /opt/cool/systemplate " LO_PATH " >/dev/null 2>&1";
std::cout << "Running the following command:" << std::endl
<< command << std::endl;

View File

@ -163,7 +163,7 @@ protected:
#endif
std::string encodedUri;
URI::encode(args[0], ":/?", encodedUri);
HTTPRequest request(HTTPRequest::HTTP_GET, "/lool/" + encodedUri + "/ws");
HTTPRequest request(HTTPRequest::HTTP_GET, "/cool/" + encodedUri + "/ws");
HTTPResponse response;
LOOLWebSocket ws(cs, request, response);

View File

@ -288,7 +288,7 @@ public:
std::string fileabs = Poco::Path(filePath).makeAbsolute().toString();
Poco::URI::encode("file://" + fileabs, ":/?", file);
Poco::URI::encode(file, ":/?", wrap); // double encode.
std::string uri = server + "/lool/" + wrap + "/ws";
std::string uri = server + "/cool/" + wrap + "/ws";
auto handler = std::make_shared<StressSocketHandler>(optStats, file, tracePath);
poll.insertNewWebSocketSync(Poco::URI(uri), handler);

View File

@ -98,7 +98,7 @@ public:
else
session = new Poco::Net::HTTPClientSession(uri.getHost(), uri.getPort());
Poco::Net::HTTPRequest request(Poco::Net::HTTPRequest::HTTP_POST, "/lool/convert-to");
Poco::Net::HTTPRequest request(Poco::Net::HTTPRequest::HTTP_POST, "/cool/convert-to");
try {
Poco::Net::HTMLForm form;