Fix Twitch not working on HTTPS and allow HTTPS channel page
This commit is contained in:
parent
9db35ba811
commit
2f2ed8aaf9
3 changed files with 2 additions and 19 deletions
|
|
@ -68,10 +68,6 @@ function redirectHttp(req, res) {
|
|||
* Handles a GET request for /r/:channel - serves channel.html
|
||||
*/
|
||||
function handleChannel(req, res) {
|
||||
if (redirectHttp(req, res)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!$util.isValidChannelName(req.params.channel)) {
|
||||
res.status(404);
|
||||
res.send("Invalid channel name '" + req.params.channel + "'");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue