]> _ Git - fluidbook-toolbox.git/commitdiff
wip #7868 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 20 Jan 2026 17:27:00 +0000 (18:27 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 20 Jan 2026 17:27:00 +0000 (18:27 +0100)
app/Fluidbook/Compiler/Links.php

index e7e323c94d1363740377d27b6bc8466024414911..35e78b02e715cb8ff5d3c9bd75d60548b79551ea 100644 (file)
@@ -5,6 +5,7 @@ namespace App\Fluidbook\Compiler;
 use App\Fluidbook\Farm;
 use App\Fluidbook\Link\Link;
 use App\Fluidbook\Link\LinksData;
+use App\Fluidbook\LinkShortener;
 use App\Jobs\OCR;
 use App\SubForms\Link\Base;
 use Cubist\Util\Text;
@@ -534,7 +535,7 @@ trait Links
         if ($this->config->linkShortener === 'none' || !Url::isDistant($url)) {
             return $url;
         }
-        return $url;
+        return LinkShortener::shorturl($url, $this->config->linkShortener);
     }
 
 }