|
@@ -33,7 +33,7 @@ discard block |
|
|
block discarded – undo |
|
33
|
33
|
|
|
34
|
34
|
public function generate(): static |
|
35
|
35
|
{ |
|
36
|
|
- Routes::all()->each(function (Route $route): void { |
|
|
36
|
+ Routes::all()->each(function(Route $route): void { |
|
37
|
37
|
$this->addRoute($route); |
|
38
|
38
|
}); |
|
39
|
39
|
|
|
@@ -110,7 +110,7 @@ discard block |
|
|
block discarded – undo |
|
110
|
110
|
{ |
|
111
|
111
|
$baseUrl = Config::getNullableString('hyde.url'); |
|
112
|
112
|
|
|
113
|
|
- $canUseQualifiedUrl = filled($baseUrl) && ! str_starts_with($baseUrl, 'http://localhost'); |
|
|
113
|
+ $canUseQualifiedUrl = filled($baseUrl) && !str_starts_with($baseUrl, 'http://localhost'); |
|
114
|
114
|
|
|
115
|
115
|
if ($canUseQualifiedUrl) { |
|
116
|
116
|
return Hyde::url($route->getOutputPath()); |
Please login to merge, or discard this patch.