summary refs log tree commit diff
path: root/src/routes/gateway.ts
blob: 4c7ff45007240a998968085108f792e7fe0e1c0a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import { Router } from "express";
import Config from "../util/Config"

const router = Router();

router.get("/", (req, res) => {
	const { endpoint } = Config.getAll().gateway();
	res.send({ url: endpoint || "ws://localhost:3002" });
});

export default router;