http-proxy-middleware 0.17.3 → 0.17.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +2 -2
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v0.17.4](https://github.com/chimurai/http-proxy-middleware/releases/tag/v0.17.4)
|
|
4
|
+
- fix(ntlm authentication): fixed bug preventing proxying with ntlm authentication. ([#132](https://github.com/chimurai/http-proxy-middleware/pull/149)) (Thanks: [EladBezalel](https://github.com/EladBezalel), [oshri551](https://github.com/oshri551))
|
|
5
|
+
|
|
6
|
+
|
|
3
7
|
## [v0.17.3](https://github.com/chimurai/http-proxy-middleware/releases/tag/v0.17.3)
|
|
4
8
|
- fix(onError): improve default proxy error handling. http status codes (504, 502 and 500). ([#132](https://github.com/chimurai/http-proxy-middleware/pull/132)) ([graingert](https://github.com/graingert))
|
|
5
9
|
|
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ _All_ `http-proxy` [options](https://github.com/nodejitsu/node-http-proxy#option
|
|
|
31
31
|
|
|
32
32
|
## Table of Contents
|
|
33
33
|
|
|
34
|
-
<!-- MarkdownTOC autolink=true bracket=round depth=
|
|
34
|
+
<!-- MarkdownTOC autolink=true bracket=round depth=2 -->
|
|
35
35
|
|
|
36
36
|
- [Install](#install)
|
|
37
37
|
- [Core concept](#core-concept)
|
|
@@ -444,4 +444,4 @@ $ npm run cover
|
|
|
444
444
|
|
|
445
445
|
The MIT License (MIT)
|
|
446
446
|
|
|
447
|
-
Copyright (c) 2015-
|
|
447
|
+
Copyright (c) 2015-2017 Steven Chim
|
package/lib/index.js
CHANGED
|
@@ -93,7 +93,7 @@ function HttpProxyMiddleware(context, opts) {
|
|
|
93
93
|
|
|
94
94
|
// store uri before it gets rewritten for logging
|
|
95
95
|
var originalPath = req.url;
|
|
96
|
-
var newProxyOptions = _.
|
|
96
|
+
var newProxyOptions = _.assign({}, proxyOptions);
|
|
97
97
|
|
|
98
98
|
// Apply in order:
|
|
99
99
|
// 1. option.router
|