SpatieMediaLibraryFileUpload not loading in production
Hello, I want to deploy my website in production but I noticed that my imaged arent shown after uploading and reopening the window
Did anyone have an Idea why? everything works fine on development just the production isnt working there
Ive already done php artisan storage:link
4 Replies
Are you seeing any console errors for the images?
Make sure all of your .env settings are correct too.
In my oppinion the .env is correct but im getting some console errors:
That’s saying that your images are being served with http instead of https. Either something is off in your flysystem config for the disk or your .env APP_URL is wrong.
Ive just changed the http to https in my .env and it worked. Im just a bit confused because its also working with http on another productive project with http in the .env but thank you so mich!