Comparing version 0.12.1 to 0.12.2
# master | ||
# 0.12.2 | ||
* Fix directory handling in server on Windows | ||
# 0.12.1 | ||
@@ -4,0 +8,0 @@ |
@@ -37,4 +37,5 @@ var path = require('path') | ||
if (stat.isDirectory()) { | ||
// if no trailing slash, redirect | ||
if (filename[filename.length - 1] !== '/') { | ||
// If no trailing slash, redirect. We use path.sep because filename | ||
// has backslashes on Windows. | ||
if (filename[filename.length - 1] !== path.sep) { | ||
urlObj.pathname += '/' | ||
@@ -41,0 +42,0 @@ response.setHeader('Location', url.format(urlObj)) |
{ | ||
"name": "broccoli", | ||
"description": "Fast client-side asset builder", | ||
"version": "0.12.1", | ||
"version": "0.12.2", | ||
"author": "Jo Liss <joliss42@gmail.com>", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
419294
639