Ability to configure whether to log http requests (#149)

This commit is contained in:
Simon J
2023-03-12 09:21:49 +11:00
committed by GitHub
parent 2941f6f595
commit e78b6c4fbc
4 changed files with 12 additions and 1 deletions

View File

@@ -88,7 +88,7 @@ const app = server(
clock,
iconColors: config.icons,
applyContextPath: true,
logRequests: true,
logRequests: config.logRequests,
version,
smapiAuthTokens: new JWTSmapiLoginTokens(clock, config.secret, config.authTimeout),
externalImageResolver: artistImageFetcher