From 480ab7185dbf6a5f43bec4cee39c5569522d2872 Mon Sep 17 00:00:00 2001 From: Belle Aerni Date: Tue, 25 Apr 2023 14:11:58 -0700 Subject: [PATCH] Small bugfix --- src/AntCMS/AntTwigFilters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AntCMS/AntTwigFilters.php b/src/AntCMS/AntTwigFilters.php index 6f66ff8..54f7f7b 100644 --- a/src/AntCMS/AntTwigFilters.php +++ b/src/AntCMS/AntTwigFilters.php @@ -18,6 +18,6 @@ class AntTwigFilters extends AbstractExtension public function absUrl(string $relative): string { - return '://' . AntTools::repairURL(AntConfig::currentConfig('baseURL') . '/' . trim($relative)); + return '//' . AntTools::repairURL(AntConfig::currentConfig('baseURL') . '/' . trim($relative)); } }