Skip to content

Commit

Permalink
Update redirect.js
Browse files Browse the repository at this point in the history
Removed reference to the unused env variable
  • Loading branch information
lenopip authored May 29, 2024
1 parent 64e2092 commit 1d67a15
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/redirect.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
const { RedirectUrl: landingPageUrl } = process.env;

exports.redirecthandler = async(event, context, callback) => {

const redirectUrl = "/?" + event['body'];
Expand All @@ -12,4 +10,4 @@ exports.redirecthandler = async(event, context, callback) => {

return response;

};
};

0 comments on commit 1d67a15

Please sign in to comment.