diff options
| author | Ewy <ewy@ewy.one> | 2026-09-18 15:06:59 +0200 |
|---|---|---|
| committer | Ewy <ewy@ewy.one> | 2026-09-18 15:06:59 +0200 |
| commit | 1f8364b145dbd0ff9ff7583f50aeb7498967b0f9 (patch) | |
| tree | cf09f5b2151f1d37327831c00148f8431b527e70 /server/web/index.gohtml | |
| parent | b82e6069c9dc93eff6e539a8cccd73e69ecde38e (diff) | |
add more stuff
Diffstat (limited to 'server/web/index.gohtml')
| -rw-r--r-- | server/web/index.gohtml | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/server/web/index.gohtml b/server/web/index.gohtml deleted file mode 100644 index d7a90b4..0000000 --- a/server/web/index.gohtml +++ /dev/null @@ -1,26 +0,0 @@ -<!doctype html> -<html lang="en"> -<head> - <meta charset="UTF-8"> - <meta name="viewport" - content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> - <meta http-equiv="X-UA-Compatible" content="ie=edge"> - <title>Document</title> -</head> -<body> - -<script> - const start = async () => { - const game = await fetch("/api/game/create", { - method: "POST", - }) - const gameId = await game.text() - const connection = new WebSocket(`/api/game/${gameId}/connect`) - connection.addEventListener("message", (ev) => { - console.debug(JSON.parse(ev.data)) - }) - } - start() -</script> -</body> -</html>
\ No newline at end of file |
