Comparing version 1.4.0 to 1.4.1
@@ -8,2 +8,3 @@ 'use strict' | ||
var doAPI = require('./api-functions') | ||
var doRSS = require('./api-rss') | ||
@@ -16,2 +17,3 @@ module.exports = function (opts) { | ||
return function (request, response) { | ||
if (/^\/?api\/1\/rss\.json\?/.test(request.url)) return doRSS(request, response) | ||
var uriMatch = request.url.match('^/?(?://(https?):)?/?(/[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}/.*)$') | ||
@@ -18,0 +20,0 @@ var setReferer = null |
{ | ||
"name": "bfn-proxy", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "HTTP request proxy middleware for node.js", | ||
@@ -5,0 +5,0 @@ "author": "Blue Fidelity Inc. (https://www.bluefidelity.com/)", |
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
21974
14
391