Adding doctype html
This commit is contained in:
parent
48874c57c1
commit
f8020241cb
@ -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
@ -1,3 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="/css/styles.css"/>
|
||||
|
Loading…
Reference in New Issue
Block a user