style: use casing in option names for readability

This commit is contained in:
Derrick Hammer 2023-04-19 18:42:23 -04:00
parent b6a6bdc97f
commit c7e0e23950
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ import * as fs from "fs";
import path from "path"; import path from "path";
import log from "./log.js"; import log from "./log.js";
const config = new Config("lumeweb-relay", "core.confdir"); const config = new Config("lumeweb-relay", "core.confDir");
let configDir; let configDir;
@ -33,7 +33,7 @@ config.inject({
config.load(); config.load();
configDir = config.str("core.confdir"); configDir = config.str("core.confDir");
if (fs.existsSync(configDir)) { if (fs.existsSync(configDir)) {
try { try {

View File

@ -20,7 +20,7 @@ export async function start() {
await getPluginAPI().emitAsync("core.appServer.buildRoutes"); 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"); getPluginAPI().emit("core.appServer.started");
} }