fix paths
This commit is contained in:
1 parent
639ee895cd
commit
48e32bfdcb
12 files changed
+74
-51
No files matched your search
@@ -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