Closed lubobill1990 closed 4 years ago
But it's very common to make the asset/files a link to a NFS disk in production environment.
And what is the problem with that?
@rob006 The problem is, when public/assets/files is a symbolic link to another path, for example the path is /var/nfs, the path of the uploaded file tag in the post will be like
[upl-image-preview url=https://xxxx.com/var/nfs/2019-03-29/1553845125-8
any progress on this issue and the related pull request?
I see a PR has been merged. Is there anything else we have forgotten to follow up on ? Let us know and we'll re-open the issue
Yes, the PR has been merged in June 2019.
https://github.com/flagrow/upload/blob/4e6fb47ce01f1a6f3592dec3d5904570cdbba07b/src/Adapters/Local.php#L31
if the assets/files is a link to another location, the returned path will be the linked file path
This happens because in league/flysystem: League\Flysystem\Adapter\Local
But it's very common to make the asset/files a link to a NFS disk in production environment.