mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
fix domain in index
This commit is contained in:
parent
f20633d980
commit
25cb3f3c35
@ -7,7 +7,7 @@ var index = jade.compileFile(__dirname + "/../views/index.jade");
|
|||||||
module.exports = function(req, res) {
|
module.exports = function(req, res) {
|
||||||
var html = index({
|
var html = index({
|
||||||
title: "Crafatar",
|
title: "Crafatar",
|
||||||
domain: "https://" + "req.hostname",
|
domain: "https://" + req.headers.host,
|
||||||
config: config
|
config: config
|
||||||
});
|
});
|
||||||
res.writeHead(200, {
|
res.writeHead(200, {
|
||||||
|
|||||||
@ -5,12 +5,12 @@ block content
|
|||||||
.container
|
.container
|
||||||
h1 Crafatar
|
h1 Crafatar
|
||||||
p A blazing fast API for Minecraft faces!
|
p A blazing fast API for Minecraft faces!
|
||||||
img(alt="Jake0oo0's Avatar", height="64", width="64", src="#{domain}/avatars/2d5aa9cdaeb049189930461fc9b91cc5?size=64&helm")
|
img(alt="Jake0oo0's Avatar", height="64", width="64", src="/avatars/2d5aa9cdaeb049189930461fc9b91cc5?size=64&helm")
|
||||||
img(alt="redstone_sheep's Avatar", height="64", width="64", src="#{domain}/avatars/ae795aa86327408e92ab25c8a59f3ba1?size=64&helm")
|
img(alt="redstone_sheep's Avatar", height="64", width="64", src="/avatars/ae795aa86327408e92ab25c8a59f3ba1?size=64&helm")
|
||||||
img(alt="sk89q's Avatar", height="64", width="64", src="#{domain}/avatars/0ea8eca3dbf647cc9d1ac64551ca975c?size=64&helm")
|
img(alt="sk89q's Avatar", height="64", width="64", src="/avatars/0ea8eca3dbf647cc9d1ac64551ca975c?size=64&helm")
|
||||||
img(alt="md_5's Avatar", height="64", width="64", src="#{domain}/avatars/af74a02d19cb445bb07f6866a861f783?size=64&helm")
|
img(alt="md_5's Avatar", height="64", width="64", src="/avatars/af74a02d19cb445bb07f6866a861f783?size=64&helm")
|
||||||
img(alt="Jeb's Avatar", height="64", width="64", src="#{domain}/avatars/853c80ef3c3749fdaa49938b674adae6?size=64&helm")
|
img(alt="Jeb's Avatar", height="64", width="64", src="/avatars/853c80ef3c3749fdaa49938b674adae6?size=64&helm")
|
||||||
img(alt="Notch's Avatar", height="64", width="64", src="#{domain}/avatars/069a79f444e94726a5befca90e38aaf5?size=64")
|
img(alt="Notch's Avatar", height="64", width="64", src="/avatars/069a79f444e94726a5befca90e38aaf5?size=64")
|
||||||
.container
|
.container
|
||||||
section(id="documentation")
|
section(id="documentation")
|
||||||
h2 Documentation
|
h2 Documentation
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user