remove old service-worker comments

main
Mike Fix 6 years ago
parent 491091d0ef
commit f50242049d

@ -46,10 +46,6 @@ puppeteer.launch(puppeteerParams).then(browser => {
server.use(compression()) server.use(compression())
// Service Worker
// const filePath = path.join(__dirname, '.next', 'service-worker.js')
// server.get('/service-worker.js', (req, res) => app.serveStatic(req, res, filePath))
// api endpoints // api endpoints
server.post('/twitter', bodyParser.json({ limit: '5mb' }), require('./handlers/twitter')) server.post('/twitter', bodyParser.json({ limit: '5mb' }), require('./handlers/twitter'))
server.post('/image', bodyParser.json({ limit: '5mb' }), wrap(imageHandler)) server.post('/image', bodyParser.json({ limit: '5mb' }), wrap(imageHandler))

Loading…
Cancel
Save