Skip to content

Instantly share code, notes, and snippets.

@SlootSantos
Created June 30, 2020 17:08
Show Gist options
  • Save SlootSantos/6c75180ac63dd1344b3695c3b0a23437 to your computer and use it in GitHub Desktop.
Save SlootSantos/6c75180ac63dd1344b3695c3b0a23437 to your computer and use it in GitHub Desktop.
exports.handler = async (event, context, callback) => {
const request = event.Records[0].cf.request;
request.uri = "/content" + request.uri;
return callback(null, request);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment