Skip to content

Commit

Permalink
chore: fix package-lock and simplify 404 return
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Oli Evans <[email protected]>
  • Loading branch information
olizilla committed Sep 20, 2023
1 parent d2fb32c commit 35eab85
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 4 deletions.
100 changes: 100 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions roundabout/functions/redirect.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,8 @@ export async function redirectCarGet(request) {
return toLambdaResponse(signedUrl)
}

return {
body: 'NOT FOUND',
statusCode: 404
}
// 404
return toLambdaResponse()
}

/**
Expand Down

0 comments on commit 35eab85

Please sign in to comment.