This commit is contained in:
Samuel Štancl 2019-10-04 21:48:30 +02:00
parent 72f447f3dd
commit 2954c3e760

View file

@ -41,9 +41,9 @@ return [
}
},
'url' => function ($page, $path) {
return starts_with($path, 'http') ? $path : '/'.trimPath($path);
return starts_with($path, 'http://') ? $path : '/'.trimPath($path);
},
'isUrl' => function ($page, $path) {
return starts_with($path, 'http');
return starts_with($path, 'http://');
},
];