Always set the url protocol for the url generator
This commit is contained in:
parent
aaafebec99
commit
54b4e11335
@ -88,7 +88,7 @@ class UrlGenerator extends RoutingBase {
|
||||
}
|
||||
$path = implode('/', $path_segments);
|
||||
|
||||
$scheme = (isset($_SERVER['HTTPS'])) ? 'https:' : '';
|
||||
$scheme = (isset($_SERVER['HTTPS'])) ? 'https:' : 'http';
|
||||
|
||||
return "{$scheme}//{$this->host}/{$path}";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user