Skip to content

Instantly share code, notes, and snippets.

@chinchang
Created February 26, 2019 18:36
Show Gist options
  • Save chinchang/eef1974f2442ad2236838037bf764e09 to your computer and use it in GitHub Desktop.
Save chinchang/eef1974f2442ad2236838037bf764e09 to your computer and use it in GitHub Desktop.
Now lambda issue
const PixelDiff = require('pixel-diff')
module.exports = async (req, res) => {
res.statusCode = 200
res.setHeader('Content-Type', `text/plain`)
res.setHeader('Cache-Control', 'no-cache')
res.end('done!')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment