flex-combo
Advanced tools
Comparing version 0.7.2 to 0.7.3
@@ -241,6 +241,5 @@ var urlLib = require("url"); | ||
if (url.match(new RegExp(suffix.join('|')))) { | ||
var url4mime = (helper.filteredUrl(url, this.param.filter, false)||'').replace(/\.[a-z]?(htm[l]?$)/, ".$1"); | ||
res.writeHead(200, { | ||
"Access-Control-Allow-Origin": '*', | ||
"Content-Type": mime.lookup(url4mime) + (isBinFile(url) ? '' : ";charset=" + this.param.charset), | ||
"Content-Type": mime.lookup(url) + (isBinFile(url) ? '' : ";charset=" + this.param.charset), | ||
"X-MiddleWare": "flex-combo" | ||
@@ -247,0 +246,0 @@ }); |
@@ -14,3 +14,2 @@ module.exports = { | ||
filter: { | ||
"(^\\/bower_components\\/.+\\.)[a-z]?(htm[l]?$)":"$1$2", | ||
"-min\\.js$": ".js", | ||
@@ -17,0 +16,0 @@ "-min\\.css$": ".css" |
{ | ||
"name": "flex-combo", | ||
"version": "0.7.2", | ||
"version": "0.7.3", | ||
"description": "The Flex-combo is combo tool designed for web front-end developer. It support various kinds of combo format by modify configuration(eg. yahoo combo).", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
42219
704