From f50242049d5add5675296ccbbcfdbd5cdc70005b Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Thu, 23 Aug 2018 18:06:42 -0700 Subject: [PATCH] remove old service-worker comments --- api/server.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/api/server.js b/api/server.js index 61d7cfe..c3cb40c 100644 --- a/api/server.js +++ b/api/server.js @@ -46,10 +46,6 @@ puppeteer.launch(puppeteerParams).then(browser => { 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 server.post('/twitter', bodyParser.json({ limit: '5mb' }), require('./handlers/twitter')) server.post('/image', bodyParser.json({ limit: '5mb' }), wrap(imageHandler))