From: Vincent Vanwaelscappel Date: Tue, 5 Nov 2024 18:53:16 +0000 (+0100) Subject: wait #7175 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=486e0093cedce2411f3ab0d5daf087c37ef10c92;p=fluidbook-toolbox.git wait #7175 @0.5 --- diff --git a/app/Fluidbook/Packager/Download.php b/app/Fluidbook/Packager/Download.php index cc92348a9..6283d01ab 100644 --- a/app/Fluidbook/Packager/Download.php +++ b/app/Fluidbook/Packager/Download.php @@ -9,6 +9,7 @@ use Cubist\Backpack\Facades\App; use Cubist\Backpack\Magic\Models\ExternalServer; use Cubist\Net\Transfer\Driver; use Cubist\Net\Transfer\Local; +use Cubist\Net\Transfer\S3; use Cubist\Util\CommandLine\Rsync; use Cubist\Util\Files\Files; use Cubist\Util\Text; @@ -136,6 +137,9 @@ class Download extends DownloadBase $driver->copy($path, $dest, false, false); $url = $server->makeURL($dest); + if ($driver instanceof S3) { + $url .= '/index.' . $this->entry->htmlExtension; + } if (null !== $url) { $actions = [__('Voir sur :server', ['server' => $server->name]) => $url]; }