fix paths
This commit is contained in:
@@ -34,14 +34,16 @@ final class Channel
|
||||
|
||||
private function makeFilesUrl(): string
|
||||
{
|
||||
$lucentDisk = config("lucent.disk");
|
||||
$lucentDisk = config("lucent.public_disk");
|
||||
|
||||
return match (config("filesystems.disks.$lucentDisk.driver")) {
|
||||
"s3" => config("filesystems.disks.$lucentDisk.endpoint") .
|
||||
"/" .
|
||||
"/lucent" .
|
||||
config("filesystems.disks.$lucentDisk.bucket"),
|
||||
"local" => $this->url .
|
||||
"/storage" .
|
||||
"/storage/lucent" .
|
||||
config("filesystems.disks.$lucentDisk.endpoint"),
|
||||
|
||||
default => "",
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user