Adds SSL support for Discord login
This commit is contained in:
parent
d67c4063e4
commit
41a12d9a82
3 changed files with 14 additions and 4 deletions
|
@ -37,4 +37,9 @@ final class EnvironmentHandler
|
|||
public function isProduction(): bool {
|
||||
return $_SERVER['PRODUCTION'] === 'true';
|
||||
}
|
||||
|
||||
public function useSSL(): bool
|
||||
{
|
||||
return $_SERVER['USE_SSL'] === 'true';
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue