Adapt the GET after 8cc367638f

The thing to GET is now lool/ws/ + the actual document URL.
This commit is contained in:
Tor Lillqvist 2016-08-29 17:18:27 +03:00
parent f8ebb54af0
commit ccdac2f767

View file

@ -174,7 +174,7 @@ protected:
#else
HTTPClientSession cs(_uri.getHost(), _uri.getPort());
#endif
HTTPRequest request(HTTPRequest::HTTP_GET, args[0]);
HTTPRequest request(HTTPRequest::HTTP_GET, std::string("lool/ws/") + args[0]);
HTTPResponse response;
WebSocket ws(cs, request, response);