*Access port as uint

This commit is contained in:
Derrick Hammer 2022-07-25 20:35:21 -04:00
parent e4f9564cd7
commit b5a9a3b00d
1 changed files with 1 additions and 1 deletions

View File

@ -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);