mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-21 17:50:29 -05:00
Improve HTTPS support for side servers
This commit is contained in:
parent
ab1b16c1a8
commit
6e47295f1c
|
|
@ -72,6 +72,7 @@ if ($config['host'] !== 'showdown') {
|
|||
}
|
||||
}
|
||||
}
|
||||
if ($protocol === 'https:') $config['port'] = 443;
|
||||
|
||||
if (@$config['redirect']) {
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user