diff --git a/src/config.ts b/src/config.ts index 41f6169..ae0a443 100644 --- a/src/config.ts +++ b/src/config.ts @@ -5,7 +5,7 @@ import * as fs from "fs"; import path from "path"; import log from "./log.js"; -const config = new Config("lumeweb-relay", "core.confdir"); +const config = new Config("lumeweb-relay", "core.confDir"); let configDir; @@ -33,7 +33,7 @@ config.inject({ config.load(); -configDir = config.str("core.confdir"); +configDir = config.str("core.confDir"); if (fs.existsSync(configDir)) { try { diff --git a/src/modules/app.ts b/src/modules/app.ts index 8abdd0a..8f7ee8c 100644 --- a/src/modules/app.ts +++ b/src/modules/app.ts @@ -20,7 +20,7 @@ export async function start() { await getPluginAPI().emitAsync("core.appServer.buildRoutes"); - await app.listen({ port: config.uint("core.appport"), host: "0.0.0.0" }); + await app.listen({ port: config.uint("core.appPort"), host: "0.0.0.0" }); getPluginAPI().emit("core.appServer.started"); }