Version 5.1 - All the GraphQL #32
@ -17,6 +17,7 @@
|
||||
namespace Aviat\AnimeClient\Command;
|
||||
|
||||
use function Aviat\AnimeClient\loadToml;
|
||||
use function Aviat\AnimeClient\loadTomlFile;
|
||||
|
||||
use Aura\Session\SessionFactory;
|
||||
use Aviat\AnimeClient\Util;
|
||||
|
@ -88,7 +88,7 @@ class UrlGenerator extends RoutingBase {
|
||||
}
|
||||
$path = implode('/', $path_segments);
|
||||
|
||||
$scheme = ($_SERVER['HTTPS'] === 'on') ? 'https:' : '';
|
||||
$scheme = (isset($_SERVER['HTTPS'])) ? 'https:' : '';
|
||||
|
||||
return "{$scheme}//{$this->host}/{$path}";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user