From 6f18d846bf2f3cd20257651f27098a3aaf29e6a8 Mon Sep 17 00:00:00 2001 From: Philip Colmer Date: Sat, 29 Jul 2023 19:18:02 +0100 Subject: [PATCH] Add extra logging --- lambda-redirect/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lambda-redirect/index.js b/lambda-redirect/index.js index e2f339b..f2663b5 100644 --- a/lambda-redirect/index.js +++ b/lambda-redirect/index.js @@ -63,6 +63,7 @@ const applyRules = function(e) { // Redirect if (rule.redirect) { + console.log(`Redirecting to ${uri.replace(rule.regexp, rule.replace)}`); return { 'res': { status: rule.redirect || 301,