aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-20 18:44:58 +0100
committerlonkaars <l.leblansch@gmail.com>2021-03-20 18:44:58 +0100
commiteed11fd96cf1458a7a91659cdf5efafbadda1b2b (patch)
treed1f6cb2b070b9296f3fa15956307ddf4689e7aa3 /pages
parent62a3b7fbb4ffcaa16e0b4984d5fa0e59537af146 (diff)
more event api
Diffstat (limited to 'pages')
-rw-r--r--pages/_app.tsx2
-rw-r--r--pages/game.tsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/pages/_app.tsx b/pages/_app.tsx
index bfde0d7..a95caa4 100644
--- a/pages/_app.tsx
+++ b/pages/_app.tsx
@@ -18,7 +18,7 @@ export default function VierOpEenRijWebsite({ Component, pageProps }) {
<link rel="icon" href="/favicon.png" type="image/png"/>
<meta property="og:site_name" content="4 op een rij"/>
- <meta property="og:url" content="http://86.80.39.198:2080/"/>
+ <meta property="og:url" content="http://connect4.pipeframe.xyz/"/>
<meta property="og:title" content="Loek's epische vier op een rij website"/>
<meta property="og:description" content="Kom vier op een rij spelen NU"/>
<meta property="og:type" content="website"/>
diff --git a/pages/game.tsx b/pages/game.tsx
index aa90588..030938c 100644
--- a/pages/game.tsx
+++ b/pages/game.tsx
@@ -76,7 +76,7 @@ function VoerGame(props: {
onMove={move => {
props.io.emit("newMove", {
move: move % width + 1,
- token: cookies.load("token"),
+ token: cookies.load("token"), //TODO: get token from request
game_id: props.gameID
});
}}