Closed sdussaut closed 2 months ago
Hi!
The temporary files are written to the local Disk. If the root of the local disk is set a subfolder (i.e.: app), then the upload will fail as storage_path('tmp/') returns /storage/tmp/ but not /storage/**app**/tmp.
root
app
storage_path('tmp/')
/storage/tmp/
/storage/**app**/tmp
I have fixed the issue along with some other potential issues in relation to filenames in URL's. Please see https://github.com/tv2regionerne/statamic-private-api/pull/22
Thanks!
Hi!
The temporary files are written to the local Disk. If the
root
of the local disk is set a subfolder (i.e.:app
), then the upload will fail asstorage_path('tmp/')
returns/storage/tmp/
but not/storage/**app**/tmp
.