summary refs log tree commit diff
path: root/src/routes/gateway.ts
diff options
context:
space:
mode:
authorDiego Magdaleno <diegomagdaleno@protonmail.com>2021-05-22 18:51:46 -0500
committerDiego Magdaleno <diegomagdaleno@protonmail.com>2021-05-22 18:51:46 -0500
commitff7985ad7d214cd2c7b5c2341aaa878edc826d20 (patch)
tree6dde0f5357c25ea5c4f279f81b903d3b2386f6c3 /src/routes/gateway.ts
parentFix merge issues, update to reflect config changes and package.json (diff)
downloadserver-ff7985ad7d214cd2c7b5c2341aaa878edc826d20.tar.xz
Config: Final config additons, now everything should work as desired
Diffstat (limited to '')
-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 04ab1248..8d0eb06f 100644 --- a/src/routes/gateway.ts +++ b/src/routes/gateway.ts
@@ -4,7 +4,7 @@ import * as Config from "../util/Config" const router = Router(); router.get("/", (req, res) => { - const { gateway } = Config.apiConfig.getAll(); + const { gateway } = Config.apiConfig.getAll() as Config.DefaultOptions; res.send({ url: gateway || "ws://localhost:3002" }); });