]> _ Git - odl.git/commitdiff
wip #5022
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 13 Jan 2022 20:22:33 +0000 (21:22 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 13 Jan 2022 20:22:33 +0000 (21:22 +0100)
resources/views/components/link.blade.php

index dc8ed75fd2b0f3160692c297e90db77642de3e97..f7e6e0bf3fe5d93fd7a9496a88863f441c545659 100644 (file)
@@ -2,7 +2,7 @@
 @php
     use Illuminate\Support\Str;
 
-    if (!Str::startsWith($href, 'http') && !Str::startsWith($href, '/tools/')) {
+    if (!Str::startsWith($href, 'http') && !Str::startsWith($href, '/tools/')  && !Str::startsWith($href, '/storage/')  && !Str::startsWith($href, '/front/')) {
         $linkData=\App\Http\Controllers\FrontController::getLinkData($href);
 
         $href=$linkData['url'];