Ive written a Laravel application where I upload images and pdf files.
Currently In uploading those into a folder within the public directory.
Now I been trying Envoyer.io, where I can easily deploy my projects to the server(s). The problem here is that each project has its own directory. So everytime all those uploads dissapear. Ive figgered out that Envoyer does use a symlink for the storage directory in every deployed project.
I can upload the files to the storage directory, but when I return the URL from the files in de storage pth I receive a path like "/var/www/project/app/storage/file.ext" which is the base path. I dont want to return those links in my API cause of security reasons. I there any way I can upload to the storage path and get those uploads with an more friendly URL? Or does anyone have an ither solution?