proxy-middleware
Advanced tools
Comparing version 0.11.0 to 0.11.1
@@ -55,3 +55,3 @@ var os = require('os'); | ||
// Fix the location | ||
if (statusCode > 300 && statusCode < 304 && location.indexOf(options.href) > -1) { | ||
if (statusCode > 300 && statusCode < 304 && location && location.indexOf(options.href) > -1) { | ||
// absoulte path | ||
@@ -58,0 +58,0 @@ headers.location = location.replace(options.href, slashJoin('', slashJoin((options.route || ''), ''))); |
{ | ||
"name": "proxy-middleware", | ||
"version": "0.11.0", | ||
"version": "0.11.1", | ||
"description": "http(s) proxy as connect middleware", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,2 @@ | ||
[![Build Status](https://secure.travis-ci.org/andrewrk/connect-proxy.png)](http://travis-ci.org/andrewrk/connect-proxy) | ||
[![Build Status](https://secure.travis-ci.org/andrewrk/node-proxy-middleware.png)](http://travis-ci.org/andrewrk/node-proxy-middleware) | ||
@@ -3,0 +3,0 @@ ### Usage: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7608