diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-02-17 22:22:30 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-02-17 22:22:30 +0100 |
commit | 2a0e24e24f728bbb858e11c47a08ad9d672d840e (patch) | |
tree | 5cef6c4c4017e39818e0733853dca6cbe1bc0ee2 /pages | |
parent | d4eb0eac5fc3e2cbcaa10e4cbf677b2459f36e57 (diff) |
voerbord connector beginnings
Diffstat (limited to 'pages')
-rw-r--r-- | pages/game.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/game.tsx b/pages/game.tsx index f56452f..a206d7a 100644 --- a/pages/game.tsx +++ b/pages/game.tsx @@ -4,7 +4,7 @@ import axios from 'axios'; import { userInfo } from '../api/api'; import * as cookies from 'react-cookies'; -var socket = io("http://localhost:5000/game/socket"); +var socket = io("http://localhost:2080/api/game/socket/"); import { NavBar } from '../components/navbar'; import { CenteredPage } from '../components/page'; @@ -81,7 +81,7 @@ class VoerGame extends Component<VoerGameProps> { maxWidth: "100vh", margin: "0 auto" }}> - <VoerBord width={7} height={6}/> + <VoerBord width={7} height={6} onMove={m => this.move(Number(m))}/> <GameBar/> </div> } |