ipfs-node-server-static
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -8,3 +8,2 @@ var ipfs = require('ipfs-api') | ||
exports = module.exports = function serveStatic(host, port, options) { | ||
console.log("Setup") | ||
if (!host || !port) { | ||
@@ -11,0 +10,0 @@ throw new TypeError('host and port required') |
{ | ||
"name": "ipfs-node-server-static", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Static file server middleware for ipfs", | ||
@@ -13,2 +13,5 @@ "main": "index.js", | ||
}, | ||
"keywords": [ | ||
"ipfs" | ||
], | ||
"author": "Travis Person <travis.person@gmail.com>", | ||
@@ -15,0 +18,0 @@ "license": "MIT", |
@@ -7,7 +7,8 @@ IPFS Middleware | ||
Install | ||
`npm install ipfs-node-server-static` | ||
``` | ||
npm install ipfs-node-server-static | ||
``` | ||
*Currently only allows no mount point for express* | ||
Install | ||
@@ -14,0 +15,0 @@ Express |
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
4437
60
44