summary refs log tree commit diff
diff options
context:
space:
mode:
authorDiego Magdaleno <diegomagdaleno@protonmail.com>2021-05-15 18:23:01 -0500
committerDiego Magdaleno <diegomagdaleno@protonmail.com>2021-05-15 18:23:01 -0500
commit466c72d65f232eafe36383cb2eb86192ee637c37 (patch)
treef1ed4fcac1def778715bc471df1547aecb3243cd
parentMerge branch 'master' of github.com:DiegoMagdaleno/fosscord-api (diff)
downloadserver-466c72d65f232eafe36383cb2eb86192ee637c37.tar.xz
Config: Those bracks dont go there
-rw-r--r--src/routes/gateway.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/gateway.ts b/src/routes/gateway.ts

index 4c7ff450..b6c8f49f 100644 --- a/src/routes/gateway.ts +++ b/src/routes/gateway.ts
@@ -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" }); });