Skip to content

Instantly share code, notes, and snippets.

@ryanblock
Created December 2, 2018 22:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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