Created
December 5, 2018 02:57
-
-
Save thomasvds/28dd8f7438a31a44fb1c759bac78dd2f to your computer and use it in GitHub Desktop.
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
exports.handler = async (event) => { | |
const response = { | |
statusCode: 302, | |
headers: { | |
"Location" : "https://example.com" | |
}, | |
body: null | |
}; | |
return response; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment