tv2regionerne / statamic-private-api

MIT License
3 stars 2 forks source link

Update local disk path for asset upload #19

Closed sdussaut closed 2 months ago

sdussaut commented 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.

SylvesterDamgaard commented 2 months ago

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

sdussaut commented 2 months ago

Thanks!