*Access port as uint
This commit is contained in:
parent
e4f9564cd7
commit
b5a9a3b00d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue