Update web-socket.html
Browse files- web-socket.html +5 -1
web-socket.html
CHANGED
|
@@ -63,7 +63,11 @@
|
|
| 63 |
</table>
|
| 64 |
|
| 65 |
<script>
|
| 66 |
-
const socket = io("https://web-socket-server-14ap.onrender.com/"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
|
| 68 |
const STORAGE_KEY = "userSessions";
|
| 69 |
|
|
|
|
| 63 |
</table>
|
| 64 |
|
| 65 |
<script>
|
| 66 |
+
const socket = io("https://web-socket-server-14ap.onrender.com/", {
|
| 67 |
+
query: {
|
| 68 |
+
isAdmin: true // 管理画面からの接続であることを示す
|
| 69 |
+
}
|
| 70 |
+
});
|
| 71 |
|
| 72 |
const STORAGE_KEY = "userSessions";
|
| 73 |
|