diff --git a/app.js b/app.js index b611f07..7355c37 100644 --- a/app.js +++ b/app.js @@ -14,7 +14,7 @@ app.get("/thumbnail/:b64url", function(req, res) { { queryStringParameters: req.query, pathParameters: { - url: req.url.replace("/thumbnail/", "") + url: req.url.replace("/thumbnail/", "").split('?')[0] } }, null,