Kaydet (Commit) c8400c56 authored tarafından Hakkı Dizdar's avatar Hakkı Dizdar

Gereksiz dosya temizlendi

üst f8bbf747
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<script>
const socket = new WebSocket("ws://127.0.0.1:3000/socket");
socket.onopen = (e) => {
console.log("pull start");
socket.send(
JSON.stringify({
method: "logs",
container:
"4ce5687f397fb5291b3481291de7711f59aeae140971f069405c545dde3b7910",
})
);
};
socket.onmessage = (e) => {
try {
e = JSON.parse(e.data);
if (e.method === "logs") {
if (e.event === "log") {
try {
console.log(e);
} catch (e) {
console.info(e);
}
}
}
} catch (e) {}
};
</script>
</head>
<body></body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment