Explorar o código

Add analytics even on WSS failures in the wild

Alessandro Pignotti hai 9 meses
pai
achega
c6ff3283d6
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      index.html

+ 1 - 0
index.html

@@ -356,6 +356,7 @@ __      __   _  __   ____  __
 					if(image_url.startsWith(wssProtocol))
 					{
 						// WebSocket protocol failed, try agin using plain HTTP
+						plausible("WS Disk failure");
 						image_url = "https:" + image_url.substr(wssProtocol.length);
 						blockDevice = await CheerpX.CloudDevice.create(image_url);
 					}