mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 11:00:39 +02:00
fix domain in index
This commit is contained in:
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user