mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-22 07:51:17 +01:00
much secure hyper text transfer protocol. wow 🐕
This commit is contained in:
parent
da8ba52717
commit
9e46878932
@ -3,7 +3,7 @@ var router = express.Router();
|
|||||||
|
|
||||||
/* GET home page. */
|
/* GET home page. */
|
||||||
router.get('/', function(req, res) {
|
router.get('/', function(req, res) {
|
||||||
res.render('index', { title: 'Crafatar', domain: req.protocol + "://" + req.headers.host });
|
res.render('index', { title: 'Crafatar', domain: "https://" + req.headers.host });
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -42,16 +42,16 @@ block content
|
|||||||
|
|
||||||
h3 Examples
|
h3 Examples
|
||||||
p Get jeb_'s avatar, 180 × 180 pixels
|
p Get jeb_'s avatar, 180 × 180 pixels
|
||||||
img(src="#{domain}/avatars/853c80ef3c3749fdaa49938b674adae6")
|
img(src="/avatars/853c80ef3c3749fdaa49938b674adae6")
|
||||||
.well.code <img src="#{domain}/avatars/853c80ef3c3749fdaa49938b674adae6">
|
.well.code <img src="#{domain}/avatars/853c80ef3c3749fdaa49938b674adae6">
|
||||||
p Get jeb_'s avatar, 64 × 64 pixels
|
p Get jeb_'s avatar, 64 × 64 pixels
|
||||||
img(src="#{domain}/avatars/853c80ef3c3749fdaa49938b674adae6?size=64")
|
img(src="/avatars/853c80ef3c3749fdaa49938b674adae6?size=64")
|
||||||
.well.code <img src="#{domain}/avatars/853c80ef3c3749fdaa49938b674adae6?size=64">
|
.well.code <img src="#{domain}/avatars/853c80ef3c3749fdaa49938b674adae6?size=64">
|
||||||
p Get jeb_'s helmet avatar, 64 × 64 pixels
|
p Get jeb_'s helmet avatar, 64 × 64 pixels
|
||||||
img(src="#{domain}/avatars/853c80ef3c3749fdaa49938b674adae6?size=64&helm")
|
img(src="/avatars/853c80ef3c3749fdaa49938b674adae6?size=64&helm")
|
||||||
.well.code <img src="#{domain}/avatars/853c80ef3c3749fdaa49938b674adae6?size=64&helm">
|
.well.code <img src="#{domain}/avatars/853c80ef3c3749fdaa49938b674adae6?size=64&helm">
|
||||||
p Get jeb_'s avatar, 64 × 64 pixels, or fall back to steve if his avatar is not found
|
p Get jeb_'s avatar, 64 × 64 pixels, or fall back to steve if his avatar is not found
|
||||||
img(src="#{domain}/avatars/00000000000000000000000000000000?default=steve&size=64")
|
img(src="/avatars/00000000000000000000000000000000?default=steve&size=64")
|
||||||
.well.code <img src="#{domain}/avatars/853c80ef3c3749fdaa49938b674adae6?default=steve&size=64">
|
.well.code <img src="#{domain}/avatars/853c80ef3c3749fdaa49938b674adae6?default=steve&size=64">
|
||||||
.col-md-2
|
.col-md-2
|
||||||
.sideface.redstone_sheep(title="redstone_sheep")
|
.sideface.redstone_sheep(title="redstone_sheep")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user