mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
req.secure is always 'http'
This commit is contained in:
parent
e80ddc79f3
commit
60387c8c7c
@ -6,7 +6,7 @@ var router = express.Router();
|
||||
router.get('/', function(req, res) {
|
||||
res.render('index', {
|
||||
title: 'Crafatar',
|
||||
domain: req.secure ? "https" : "http" + "://" + req.headers.host,
|
||||
domain: "https://" + req.headers.host,
|
||||
config: config
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user