We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39da13e commit ff09caeCopy full SHA for ff09cae
src/templates/getHandler.js
@@ -49,6 +49,10 @@ const makeHandler =
49
bridge.listen()
50
51
return async (event, context) => {
52
+ // Next expects to be able to parse the query from the URL
53
+ const query = new URLSearchParams(event.queryStringParameters).toString()
54
+ event.path = query ? `${event.path}?${query}` : event.path
55
+
56
const { headers, ...result } = await bridge.launcher(event, context)
57
/** @type import("@netlify/functions").HandlerResponse */
58
0 commit comments