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
No description
No description
4 Replies
awcodes
awcodes6mo ago
Are you seeing any console errors for the images? Make sure all of your .env settings are correct too.
ПIᄃK
ПIᄃK6mo ago
In my oppinion the .env is correct but im getting some console errors:
No description
awcodes
awcodes6mo ago
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.
ПIᄃK
ПIᄃK6mo ago
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!