Skip to content

Commit

Permalink
Enable access logger in production
Browse files Browse the repository at this point in the history
Logs are no longer stored permamently so no need to decrease the amount
of logging
  • Loading branch information
Keskimaki committed Jun 21, 2023
1 parent 473d631 commit 3348e35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ app.use(Sentry.Handlers.tracingHandler())

app.use(express.json())

if (!inProduction) app.use(accessLogger)
app.use(accessLogger)

app.get('/ping', (_req, res) => res.send('pong'))

Expand Down

0 comments on commit 3348e35

Please sign in to comment.