Last active
December 11, 2017 10:19
-
-
Save apaleslimghost/7310aa2711281cd5bd42f40fa3fbb0ba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const cors = require('corser'); | |
const promisify = require('@quarterto/promisify'); | |
const createHandler = options => promisify(cors.create(options)); | |
module.exports = createHandler; | |
module.exports.createHandler = createHandler; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment