diff options
| author | ilotterytea <iltsu@alright.party> | 2022-09-25 13:03:41 +0600 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2022-09-25 13:03:41 +0600 |
| commit | 0cf6ff86b29992c2cba5c4a793f128ea96a6ea1e (patch) | |
| tree | 97c63d21f41fd8b80c90c585b2bdaf0c868a7df0 | |
| parent | f6061d65a0c9d48445e264748216607cf1753d1b (diff) | |
oops 💀
| -rw-r--r-- | src/Main.ts | 4 |
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!!!") |
