return req.get('user-agent')
})
app.use(morgan('combined', {
return req.get('user-agent')
})
app.use(morgan('combined', {
app.use('/', lazyStaticRouter)
// Client files, last valid routes!
app.use('/', lazyStaticRouter)
// Client files, last valid routes!
updateStreamingPlaylistsInfohashesIfNeeded()
.catch(err => logger.error('Cannot update streaming playlist infohashes.', { err }))
updateStreamingPlaylistsInfohashesIfNeeded()
.catch(err => logger.error('Cannot update streaming playlist infohashes.', { err }))