Skip to content

Commit fe5231b

Browse files
save file
1 parent dc6d71e commit fe5231b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blog/25-07-26/very-simple-http-proxy/very-simple-http-proxy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
var query;
2323
var i = url.indexOf('?');
2424
if(i!=-1){
25-
url = url.slice(0,i);
2625
var enc = url.slice(i+1);
2726
var b64 = decodeURIComponent(enc);
2827
query = atob(b64);
28+
url = url.slice(0,i);
2929
console.log('8005 :','query',query);
3030
}
3131
console.log('8005 :',url);

0 commit comments

Comments
 (0)