8000 Fix forced scheme url generation · laravel/lumen-framework@ec48112 · GitHub
[go: up one dir, main page]

Skip to content

Commit ec48112

Browse files
authored
Fix forced scheme url generation
1 parent 52e8ebd commit ec48112

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Routing/UrlGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ protected function getSchemeForUrl($secure)
258258
{
259259
if (is_null($secure)) {
260260
if (is_null($this->cachedScheme)) {
261-
$this->cachedScheme = $this->app->make('request')->getScheme().'://';
261+
$this->cachedScheme = $this->getScheme($secure);
262262
}
263263

264264
return $this->cachedScheme;

0 commit comments

Comments
 (0)
0