Skip to content

Commit

Permalink
Log the incoming HTTP path
Browse files Browse the repository at this point in the history
  • Loading branch information
mbklein authored Nov 4, 2024
1 parent 172c84a commit 94b7b10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 94b7b10

Please sign in to comment.