From 2954c3e7607f00575978b05cc62c450ba48d9a41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Fri, 4 Oct 2019 21:48:30 +0200 Subject: [PATCH] Fix #12 --- docs/config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/config.php b/docs/config.php index 49762dc..025e5a9 100644 --- a/docs/config.php +++ b/docs/config.php @@ -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://'); }, ];