diff --git a/routes/index.js b/routes/index.js index d0adc26..549b698 100644 --- a/routes/index.js +++ b/routes/index.js @@ -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 }); });