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