We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdfa92e commit cc33c50Copy full SHA for cc33c50
src/templates/getHandler.ts
@@ -57,7 +57,7 @@ const makeHandler =
57
let requestMode = mode
58
const ev = JSON.stringify(event)
59
// Ensure that paths are encoded - but don't double-encode them
60
- event.path = new URL(event.path, event.rawUrl).pathname
+ event.path = new URL(event.rawUrl).pathname
61
// Next expects to be able to parse the query from the URL
62
const query = new URLSearchParams(event.queryStringParameters).toString()
63
event.path = query ? `${event.path}?${query}` : event.path
0 commit comments