aboutsummaryrefslogtreecommitdiffstats
path: root/backend/ts/index.ts
diff options
context:
space:
mode:
authorMaks Jopek <maksymilian.jopek@prym-soft.pl>2021-04-18 00:03:32 +0200
committerMaks Jopek <maksymilian.jopek@prym-soft.pl>2021-04-18 00:03:32 +0200
commitc3c3b770b037cb80a37b3508ac890699d7391083 (patch)
tree4d82e69aaba488f1a6aecf7ada4ce1747e9ca307 /backend/ts/index.ts
parentdd66b8ad239d5ceae219746a702963645259b784 (diff)
downloadfia-c3c3b770b037cb80a37b3508ac890699d7391083.tar.gz
fia-c3c3b770b037cb80a37b3508ac890699d7391083.tar.zst
fia-c3c3b770b037cb80a37b3508ac890699d7391083.zip
Everything till generating empty game board
Diffstat (limited to 'backend/ts/index.ts')
-rw-r--r--backend/ts/index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/ts/index.ts b/backend/ts/index.ts
index 6b12571..d0899dd 100644
--- a/backend/ts/index.ts
+++ b/backend/ts/index.ts
@@ -5,6 +5,7 @@ import * as dotenv from "dotenv";
import login from "./api/login";
import startPoint from "./api/startPoint";
import readyStateToggle from "./api/readyStateToggle";
+import getCurrentGameState from "./api/getCurrentGameState";
dotenv.config();
const app = express();
@@ -23,6 +24,7 @@ app.get("/startPoint", startPoint)
app.post("/login", login);
app.post("/readyStateToggle", readyStateToggle);
+app.post("/getCurrentGameState", getCurrentGameState);
app.listen(PORT, () => {