Created
October 25, 2018 21:54
-
-
Save kristoferjoseph/0fad1e0fb918c352e2be308fc1ba76e1 to your computer and use it in GitHub Desktop.
Example get-index/index.js file for arc-example-views
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
let Layout = require('@architect/views/layout') | |
exports.handler = async function http (request) { | |
return { | |
type: 'text/html; charset=utf8', | |
body: Layout() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment