summary refs log tree commit diff
path: root/src/routes
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/experiments.ts10
-rw-r--r--src/routes/gateway.ts9
2 files changed, 19 insertions, 0 deletions
diff --git a/src/routes/experiments.ts b/src/routes/experiments.ts
new file mode 100644

index 00000000..6bca49c5 --- /dev/null +++ b/src/routes/experiments.ts
@@ -0,0 +1,10 @@ +import { Router } from "express"; + +const router = Router(); + +router.get("/", (req, res) => { + // TODO: + res.send({ fingerprint: "", assignments: [] }); +}); + +export default router; diff --git a/src/routes/gateway.ts b/src/routes/gateway.ts new file mode 100644
index 00000000..53302f12 --- /dev/null +++ b/src/routes/gateway.ts
@@ -0,0 +1,9 @@ +import { Router } from "express"; + +const router = Router(); + +router.get("/", (req, res) => { + res.send({ url: "ws://localhost:8080" }); +}); + +export default router;