much secure hyper text transfer protocol. wow 🐕

This commit is contained in:
jomo
2014-11-02 04:40:06 +01:00
parent da8ba52717
commit 9e46878932
2 changed files with 5 additions and 5 deletions

View File

@@ -3,7 +3,7 @@ var router = express.Router();
/* GET home page. */
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 });
});