Created
December 2, 2018 22:28
-
-
Save ryanblock/04cb6a96bec74cdf925b74e3fd3b3408 to your computer and use it in GitHub Desktop.
Example Begin cloud function
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
// 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