diff --git a/README.md b/README.md
index a81a46f..c389f4c 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,3 @@
-[![Build Status](https://travis-ci.org/wearefractal/lute.png?branch=master)](https://travis-ci.org/wearefractal/lute)
-
[![NPM version](https://badge.fury.io/js/lute.png)](http://badge.fury.io/js/lute)
## Information
@@ -14,7 +12,7 @@
Node Version |
->= 0.4 |
+>= 0.10 |
diff --git a/lib/serve/createServer.js b/lib/serve/createServer.js
index c7e4995..2493598 100644
--- a/lib/serve/createServer.js
+++ b/lib/serve/createServer.js
@@ -4,7 +4,7 @@ var http = require('http');
var pf = require('portfinder');
var rstream = require('replacestream');
var send = require('send');
-var openIt = require('open');
+var openIt = require('open');
module.exports = function (port, lrPort, open, next) {
var root = path.resolve(process.cwd());
@@ -32,7 +32,7 @@ module.exports = function (port, lrPort, open, next) {
});
// if html, inject lr
- if (path.match(/htm(l)?$/)) {
+ if (path.extname(path).match(/\.htm(l)?$/)) {
stream
.pipe(rstream('