mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 22:10:22 +00:00
Ignore query variables
This commit is contained in:
parent
9c8f804d45
commit
53faab2f41
1 changed files with 1 additions and 1 deletions
|
@ -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"),
|
||||
|
|
Loading…
Reference in a new issue