Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
O
Oyun Parkı API
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Nyx
Oyun Parkı API
Commits
c8400c56
Kaydet (Commit)
c8400c56
authored
May 07, 2021
tarafından
Hakkı Dizdar
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Gereksiz dosya temizlendi
üst
f8bbf747
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
38 deletions
+0
-38
socket.html
socket.html
+0
-38
No files found.
socket.html
deleted
100644 → 0
Dosyayı görüntüle @
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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment