Comparing version 0.2.1 to 0.2.2
{ | ||
"name": "bfg", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Big Friendly Gateway creates a read and write stream to various cloud storage providers", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -57,3 +57,3 @@ var EventEmitter = require('events').EventEmitter; | ||
uploader.on('end', function(){ | ||
res.end(req.url) | ||
res.end(filepath) | ||
}) | ||
@@ -93,3 +93,3 @@ uploader.on('error', function(){ | ||
res.writeHead(302, { | ||
'Location': this._options.cdn + req.url | ||
'Location': self._options.cdn + '/' + self._options.folder + req.url | ||
}); | ||
@@ -96,0 +96,0 @@ res.end(); |
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
15656