From 705d67f9949d8fda2142ff24855a9f9c123119ae Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 6 Jul 2014 16:48:13 +0200 Subject: Always display https --- webcastor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webcastor.js b/webcastor.js index 423927f..dbc6ad1 100644 --- a/webcastor.js +++ b/webcastor.js @@ -155,7 +155,7 @@ var Server = { res.render('channel', { channel : channelName, - url : req.protocol + '://' + req.host + '/', + url : 'https://' + req.hostname + '/', }); }); -- cgit v1.2.3