Last active
June 10, 2020 16:29
-
-
Save nootrope/116c0f3a15e3065901ac9da74022e636 to your computer and use it in GitHub Desktop.
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
exports.handler = async (event) => { | |
const response = { | |
statusCode: 301, | |
headers: { | |
Location: 'https://destination-domain.tld' | |
} | |
}; | |
return response; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment