style: use casing in option names for readability
This commit is contained in:
parent
b6a6bdc97f
commit
c7e0e23950
|
@ -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 {
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue