Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function HttpProxyMiddleware(context, opts) {

// store uri before it gets rewritten for logging
var originalPath = req.url;
var newProxyOptions = _.cloneDeep(proxyOptions);
var newProxyOptions = _.assign({}, proxyOptions);

// Apply in order:
// 1. option.router
Expand Down