Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rpnow

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rpnow - npm Package Compare versions

Comparing version 0.0.1-6 to 0.0.1-7

2

package.json

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "0.0.1-6",
"version": "0.0.1-7",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

@@ -34,3 +34,3 @@ #!/usr/bin/env node

const forwardedProto = req.get('X-Forwarded-Proto');
if (forwardedProto && forwardedProto.indexOf("https") >= 0){
if (forwardedProto && forwardedProto.indexOf("https") === -1){
res.redirect('https://' + req.hostname + req.url);

@@ -37,0 +37,0 @@ } else {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc