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

const router = Router();

const url = Config.get().server.root_url;

router.get("/", (req, res) => {
	res.send({ url: `ws://${url}:3002` });
});

export default router;