Created
November 4, 2019 02:21
Deploy Surgio gateway to Azure Function
This file contains hidden or 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 createHandler = require("azure-function-express").createHandler; | |
const gateway = require("surgio/build/gateway"); | |
// Binds the express app to an Azure Function handler | |
module.exports = createHandler(gateway.createHttpServer()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment