mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-25 09:54:34 +00:00
Config: Those bracks dont go there
This commit is contained in:
@@ -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" });
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user