Config: Those bracks dont go there

This commit is contained in:
Diego Magdaleno 2021-05-15 18:23:01 -05:00
parent 17aec4e4b0
commit 466c72d65f

View File

@ -4,7 +4,7 @@ import Config from "../util/Config"
const router = Router();
router.get("/", (req, res) => {
const { endpoint } = Config.getAll().gateway();
const { endpoint } = Config.getAll().gateway;
res.send({ url: endpoint || "ws://localhost:3002" });
});