From 94b7b105b10d03674a7bec181b6a63ba4bd8b780 Mon Sep 17 00:00:00 2001 From: "Michael B. Klein" Date: Mon, 4 Nov 2024 15:12:07 -0600 Subject: [PATCH] Log the incoming HTTP path --- src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.js b/src/index.js index bbb8fe9..03daf13 100644 --- a/src/index.js +++ b/src/index.js @@ -5,6 +5,7 @@ const { errorHandler } = require('./error'); const { streamifyResponse } = require('./streamify'); const handleRequestFunc = streamifyResponse(async (event, context) => { + console.log('http path: ', event?.requestContext?.http?.path); const { addCorsHeaders, eventPath, fileMissing } = helpers; context.callbackWaitsForEmptyEventLoop = false;