This repository has been archived on 2026-02-28. You can view files and clone it, but cannot push or open issues or pull requests.
2021-05-18 22:05:25 +02:00

13 lines
268 B
TypeScript

import { Router } from "express";
import Config from "../util/Config";
const router = Router();
router.get("/", (req, res) => {
const endpoint = Config.getAll()?.gateway?.endpoint;
res.send({ url: endpoint || "ws://localhost:3002" });
});
export default router;