Ignore query variables

This commit is contained in:
Mattias Erming 2014-12-11 23:19:09 +01:00
parent 9c8f804d45
commit 53faab2f41
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ module.exports = function(options) {
};
function index(req, res, next) {
if (req.url != "/") return next();
if (req.url.split("?")[0] != "/") return next();
return fs.readFile("client/index.html", "utf-8", function(err, file) {
var data = _.merge(
require("../package.json"),