Adding doctype html

This commit is contained in:
Sergiotarxz 2023-06-29 09:14:02 +02:00
parent 48874c57c1
commit f8020241cb
3 changed files with 4 additions and 2 deletions

View File

@ -53,6 +53,7 @@ export default function Game (props: GameProps): JSX.Element {
window.setTimeout(() => {
setWebsocket((websocket): WebSocket | null => {
if (websocket === null) {
console.log('Opening websocket');
const locationProtocol = window.location.protocol
if (locationProtocol == null) {
return null
@ -94,7 +95,7 @@ export default function Game (props: GameProps): JSX.Element {
}
return websocket
})
}, 10)
}, 300)
return (
<>
<UpperPanel teamPJs={teamPJs}

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="/css/styles.css"/>