From 0cf6ff86b29992c2cba5c4a793f128ea96a6ea1e Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 25 Sep 2022 13:03:41 +0600 Subject: oops 💀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Main.ts b/src/Main.ts index 90f8d40..5471a17 100644 --- a/src/Main.ts +++ b/src/Main.ts @@ -44,8 +44,8 @@ function Main(dirPath: string, cfg: {[key: string]: any}, cli_options?: {[key: s App.use(express.static(`${dirPath}/static`)); if (cli_options) { - App.listen(parseInt(cfg.Ports.HTTP), () => { - log.info("Image hoster is running on port", cfg.Ports.HTTP); + App.listen(parseInt(cfg.Server.Port), () => { + log.info("Image hoster is running on port", cfg.Server.Port); }); } else { log.error("NO CLI OPTIONS PROVIDED!!!") -- cgit v1.2.3