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

express-nudist

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-nudist - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

index.js

@@ -16,3 +16,3 @@ /*

if (req.host.match(/^www\./i))
return res.redirect((req.secure ? 'https://' : 'http://') + domain + req.url);
return res.redirect(req.protocol + '://' + domain + req.url);

@@ -19,0 +19,0 @@ next();

{
"name": "express-nudist",
"version": "0.0.1",
"version": "0.0.2",
"description": "Express middleware to create a \"naked\" (www-less) domain.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -26,2 +26,6 @@ ## express-nudist

### history
##### march 10th, 2014 / 0.0.2
* removed `req.secure` test in favor of `req.protocol`
##### march 9th, 2014 / 0.0.1

@@ -28,0 +32,0 @@ * initial commit

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