summaryrefslogtreecommitdiff
path: root/src/Main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main.ts')
-rw-r--r--src/Main.ts4
1 files 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!!!")