Excluding things from request stats, script registering endpoint

This commit is contained in:
mrfry 2021-01-11 09:28:18 +01:00
parent b53fd84bf2
commit f19226a74e
5 changed files with 87 additions and 9 deletions

View file

@ -155,7 +155,8 @@ app.use(
reqlogger({
loggableKeywords: ['news.json'],
loggableModules: ['dataeditor'],
exceptions: ['stable.user.js?up', '_next/static'],
exceptions: ['_next/static'],
excludeFromStats: ['stable.user.js?up'],
})
)