aboutsummaryrefslogtreecommitdiffstats
path: root/backend/ts/index.ts
diff options
context:
space:
mode:
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, () => {