Skip to content

Instantly share code, notes, and snippets.

@ryanblock
Created December 2, 2018 22:28
Show Gist options
  • Save ryanblock/04cb6a96bec74cdf925b74e3fd3b3408 to your computer and use it in GitHub Desktop.
Save ryanblock/04cb6a96bec74cdf925b74e3fd3b3408 to your computer and use it in GitHub Desktop.
Example Begin cloud function
// This function is everything you need to build a Lambda-based app with Begin
exports.handler = async function http(req) {
return {
type: 'text/html; charset=utf8',
body: `<h1 class="center-text">Hello world!</h1>`
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment