fix domain in index

This commit is contained in:
jomo
2015-01-03 01:37:27 +01:00
parent f20633d980
commit 25cb3f3c35
2 changed files with 7 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ var index = jade.compileFile(__dirname + "/../views/index.jade");
module.exports = function(req, res) {
var html = index({
title: "Crafatar",
domain: "https://" + "req.hostname",
domain: "https://" + req.headers.host,
config: config
});
res.writeHead(200, {