From b5a9a3b00dad49b7ffef21247751a484258068ea Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 25 Jul 2022 20:35:21 -0400 Subject: [PATCH] *Access port as uint --- src/relay.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/relay.ts b/src/relay.ts index 9ab5915..5336bc1 100644 --- a/src/relay.ts +++ b/src/relay.ts @@ -42,7 +42,7 @@ const FILE_ACCOUNT_KEY_NAME = "/lumeweb/relay/account.key"; type SslData = { crt: IndependentFileSmall; key: IndependentFileSmall }; export async function start() { - const relayPort = config.str("port"); + const relayPort = config.uint("port"); app = express(); app.use(function (req, res, next) { router(req, res, next);