Remove logging of package requests

This commit is contained in:
MICHAEL JACKSON
2017-04-19 16:35:55 -07:00
parent a3197e803a
commit 9381525d05
3 changed files with 0 additions and 36 deletions

View File

@ -5,7 +5,6 @@ const cors = require('cors')
const morgan = require('morgan')
const unpkg = require('express-unpkg')
const { fetchStats } = require('./cloudflare')
const { logPackageRequests } = require('./logging')
const fs = require('fs')
const path = require('path')
@ -52,9 +51,6 @@ const createServer = (config) => {
maxAge: config.maxAge
}))
if (config.redisURL)
app.use(logPackageRequests(config.redisURL))
app.use(unpkg.createRequestHandler(config))
const server = http.createServer(app)