Can you log into the server and check that the symlink was created correctly?
Jul 10, 2017
3
Level 4
Images not rendering for Forge deploy but works locally
I am having an issue rendering images when I deploy my Laravel 5.4 app using Forge.
I put my images in storage/app/public and then ran php artisan storage:link. I ran this locally and everything renders correctly.
I included the storage:link command in my Deploy Script for Forge. I reference the image in blade template like:
When I deploy my site using Forge I get a 404 error for rendering the images. The error says failed to load resource. Does anyone know why the images are rendering locally but the file path breaks when I deploy? Thank you!
Please or to participate in this conversation.