Improve HTTPS support for side servers

This commit is contained in:
Guangcong Luo 2017-11-21 02:42:44 -05:00
parent ab1b16c1a8
commit 6e47295f1c

View File

@ -72,6 +72,7 @@ if ($config['host'] !== 'showdown') {
}
}
}
if ($protocol === 'https:') $config['port'] = 443;
if (@$config['redirect']) {
?>