browser: rename 'lool' -> 'cool'

Change-Id: I1abd3448b206e62c016ba13d0c0e052ee55dd5da
Signed-off-by: Henry Castro <hcastro@collabora.com>
pull/3649/head
Henry Castro 2021-11-15 11:52:32 -04:00 committed by Andras Timar
parent b672f2f5f4
commit 969ca88846
3 changed files with 3 additions and 3 deletions

View File

@ -828,7 +828,7 @@ window.app = { // Shouldn't have any functions defined.
} else {
// The URL may already contain a query (e.g., 'http://server.tld/foo/wopi/files/bar?desktop=baz') - then just append more params
var docParamsPart = docParams ? (global.docURL.includes('?') ? '&' : '?') + docParams : '';
var websocketURI = global.makeWsUrlWopiSrc('/lool/', global.docURL + docParamsPart);
var websocketURI = global.makeWsUrlWopiSrc('/cool/', global.docURL + docParamsPart);
try {
global.socket = global.createWebSocket(websocketURI);
} catch (err) {

View File

@ -34,7 +34,7 @@ app.definitions.Socket = L.Class.extend({
},
getWebSocketBaseURI: function(map) {
return window.makeWsUrlWopiSrc('/lool/', map.options.doc + '?' + $.param(map.options.docParams));
return window.makeWsUrlWopiSrc('/cool/', map.options.doc + '?' + $.param(map.options.docParams));
},
connect: function(socket) {

View File

@ -76,7 +76,7 @@ L.Clipboard = L.Class.extend({
getMetaPath: function(idx) {
if (!idx)
idx = 0;
return '/lool/clipboard?WOPISrc=' + encodeURIComponent(this._map.options.doc) +
return '/cool/clipboard?WOPISrc=' + encodeURIComponent(this._map.options.doc) +
'&ServerId=' + app.socket.WSDServer.Id +
'&ViewId=' + this._map._docLayer._viewId +
'&Tag=' + this._accessKey[idx];