mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-03 09:49:24 +02:00
9 lines
308 B
JavaScript
9 lines
308 B
JavaScript
import { BIN, VERSION } from "@yume-chan/fetch-scrcpy-server";
|
|
|
|
const output = document.getElementById("output");
|
|
output.textContent += VERSION + "\n";
|
|
fetch(BIN)
|
|
.then((res) => res.arrayBuffer())
|
|
.then((buffer) => {
|
|
output.textContent += "length: " + buffer.byteLength + " bytes\n";
|
|
});
|