diff options
author | Pacien TRAN-GIRARD | 2014-07-06 16:48:13 +0200 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2014-07-06 16:48:13 +0200 |
commit | 705d67f9949d8fda2142ff24855a9f9c123119ae (patch) | |
tree | 8967385cc9182245bf38c3ad13cd776612a909a7 | |
parent | a44734d8528b6d18252b74202872b254ca52cf0f (diff) | |
download | webcastor-705d67f9949d8fda2142ff24855a9f9c123119ae.tar.gz |
Always display https
-rw-r--r-- | webcastor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webcastor.js b/webcastor.js index 423927f..dbc6ad1 100644 --- a/webcastor.js +++ b/webcastor.js | |||
@@ -155,7 +155,7 @@ var Server = { | |||
155 | 155 | ||
156 | res.render('channel', { | 156 | res.render('channel', { |
157 | channel : channelName, | 157 | channel : channelName, |
158 | url : req.protocol + '://' + req.host + '/', | 158 | url : 'https://' + req.hostname + '/', |
159 | }); | 159 | }); |
160 | }); | 160 | }); |
161 | 161 | ||