Socket
Socket
Sign inDemoInstall

ecstatic

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ecstatic - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

CONTRIBUTING.md

4

lib/ecstatic.js

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

middleware({
url: (handleError ? ('/' + path.join(baseDir, '404.html')) : req.url),
url: (handleError ? ('/' + path.join(baseDir, '404.' + defaultExt)) : req.url),
statusCode: 404 // Override the response status code

@@ -119,3 +119,3 @@ }, res, next);

return middleware({
url: path.join(pathname, '/index.html')
url: path.join(pathname, '/index.' + defaultExt)
}, res, function (err) {

@@ -122,0 +122,0 @@ if (err) {

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

"description": "A simple static file server middleware that works with both Express and Flatiron",
"version": "0.5.1",
"version": "0.5.2",
"homepage": "https://github.com/jesusabdullah/node-ecstatic",

@@ -8,0 +8,0 @@ "repository": {

@@ -163,3 +163,3 @@ # Ecstatic [![build status](https://secure.travis-ci.org/jesusabdullah/node-ecstatic.png)](http://travis-ci.org/jesusabdullah/node-ecstatic)

contributing, take a quick look at the contributing guidelines in
./CONTRIBUTE.md . They're relatively painless, I promise.
./CONTRIBUTING.md . They're relatively painless, I promise.

@@ -166,0 +166,0 @@ # License:

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