Tweak URL printout in terminal when launching the web viewer.
PiperOrigin-RevId: 958422471 Change-Id: I2d637c615015915eb01b65bb0bad22749886a372
This commit is contained in:
committed by
Copybara-Service
parent
d33f297b56
commit
b0c3486249
@@ -187,7 +187,8 @@ limitations under the License.
|
||||
// The session id tells the server which page is dropping; it only
|
||||
// accepts drops from the controller.
|
||||
const sid = (window.Module && Module.sessionId) || "";
|
||||
const ws = new WebSocket(proto + location.host + "/drop?sid=" + encodeURIComponent(sid));
|
||||
const dropUrl = proto + location.host + "/drop?sid=" + encodeURIComponent(sid);
|
||||
const ws = new WebSocket(dropUrl);
|
||||
ws.binaryType = "arraybuffer";
|
||||
ws.onopen = () => {
|
||||
for (const frame of frames) ws.send(frame);
|
||||
|
||||
Reference in New Issue
Block a user