8000 [minor] this shouldnt be in var block · developerbruce/node-http-proxy@3f19e6e · GitHub
[go: up one dir, main page]

< 8000 div class="position-relative header-wrapper js-header-wrapper "> Skip to content

Commit 3f19e6e

Browse files
committed
[minor] this shouldnt be in var block
1 parent 7c5e40a commit 3f19e6e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/http-proxy/common.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,9 @@ common.urlJoin = function() {
140140
lastIndex = args.length - 1,
141141
last = args[lastIndex],
142142
lastSegs = last.split('?'),
143-
args[lastIndex] = lastSegs[0],
144143
retSegs;
144+
145+
args[lastIndex] = lastSegs[0];
145146

146147
//
147148
// Join all strings, but remove empty strings so we don't get extra slashes from

0 commit comments

Comments
 (0)
0