update path daily monitoring
This commit is contained in:
@@ -131,7 +131,9 @@ class RequestDailyMonitoring extends Model
|
|||||||
$path = Storage::disk('s3')->url($row->path); // fallback kalau public
|
$path = Storage::disk('s3')->url($row->path); // fallback kalau public
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$path = Storage::disk('public')->url($row->path);
|
// pastikan path tidak double "public/"
|
||||||
|
$pathInDisk = str_replace('public/', '', $row->path);
|
||||||
|
$path = Storage::disk('public')->url($pathInDisk);
|
||||||
}
|
}
|
||||||
|
|
||||||
$arr_document[] = [
|
$arr_document[] = [
|
||||||
|
|||||||
Reference in New Issue
Block a user