diff options
| author | Kevin J Hoerr <kjhoerr@protonmail.com> | 2022-04-04 01:17:50 +0000 |
|---|---|---|
| committer | Kevin J Hoerr <kjhoerr@protonmail.com> | 2022-04-04 01:17:50 +0000 |
| commit | 97b0a2cafc7c32d264fb3317e8a5ddaea61978a3 (patch) | |
| tree | 269c93c8c84a59d36cf41b5ec82b3ecb1682176d /src/index.ts | |
| parent | a87eb1608d354a6e9c8170e0fdc432a5f556c445 (diff) | |
| download | ao-coverage-97b0a2cafc7c32d264fb3317e8a5ddaea61978a3.tar.gz ao-coverage-97b0a2cafc7c32d264fb3317e8a5ddaea61978a3.tar.bz2 ao-coverage-97b0a2cafc7c32d264fb3317e8a5ddaea61978a3.zip | |
Formatting and linting fixes
Diffstat (limited to 'src/index.ts')
| -rw-r--r-- | src/index.ts | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/index.ts b/src/index.ts index d101ba3..ae15509 100644 --- a/src/index.ts +++ b/src/index.ts @@ -60,10 +60,16 @@ handleStartup(ENV_CONFIG, logger).then((mongo) => { // actual app routes app.use(routes(metadata)); - app.use(expressWinston.errorLogger(loggerConfig("_ERR", ENV_CONFIG.logLevel))); + app.use( + expressWinston.errorLogger(loggerConfig("_ERR", ENV_CONFIG.logLevel)) + ); const server = app.listen(ENV_CONFIG.port, ENV_CONFIG.bindAddress, () => { - logger.info("Express has started: http://%s:%d/", ENV_CONFIG.bindAddress, ENV_CONFIG.port); + logger.info( + "Express has started: http://%s:%d/", + ENV_CONFIG.bindAddress, + ENV_CONFIG.port + ); }); // application exit handling |
