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.

12 lines
264 B
TypeScript

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