Skip to content

Commit f69db5f

Browse files
committed
fix: correct URL handling in getRequestURL function
1 parent 4f30eca commit f69db5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ function getRequestURL(req) {
322322
typeof req.url !== "undefined" ? encodeURI(req.url) : undefined;
323323

324324
return encodedUrl !== req.originalUrl && encodedUrl !== undefined
325-
? encodedUrl
325+
? req.url
326326
: req.originalUrl;
327327
}
328328

0 commit comments

Comments
 (0)